Obsolete Getref in V4MD2?

Gregory Kowalski gregkowalski at earthlink.net
Tue Apr 5 23:18:50 CDT 2005


Hello,

There is an error in the V4MD_Reference_2_en.pdf documentation on page 
95.

it is for new (xtra "Vcursor"...)

The example in the doc:

set SQLstring to the text of member "SQLquery"
setgCursor = new ( Xtra "VCursor", GetRef( gMyDataBase), SQLstring)
setgCursor = new ( Xtra "VCursor", GetRef( gMyDataBase), 
SQLstring,kClient, kReadOnly, kForwardOnly )

is wrong.

The "GetRef" expression will give an error.  It looks like it's 
obsolete. It should be only "gMyDataBase" without "GetRef"

set SQLstring to the text of member "SQLquery"
setgCursor = new ( Xtra "VCursor", gMyDataBase, SQLstring)
setgCursor = new ( Xtra "VCursor",  gMyDataBase, SQLstring,kClient, 
kReadOnly, kForwardOnly)


Greg










More information about the Valentina mailing list