Invalid Curs ref

Ruslan Zasukhin sunshine at public.kherson.ua
Mon May 5 00:58:38 CDT 2003


on 5/5/03 12:12 AM, Zav - Alex Zavatone at zavpublic at mac.com wrote:

>> I swear this used to work last week.  Today it returns a - value for
>> the cursor and an error on setblank.  Any idea why?
>> 
>> Mac OS X 10.2.5, DMX.
>> 
>> Before running, I InitValentina and manually delete the username.vdb file
>> 
>> on CreateUserDatabase
>>   put "creating user database"
>>   myDBPath = the moviepath & "username.vdb"
>>   myDBTable = "Users"
>>   myDB = new( xtra "VDatabase")-- NEW INSTANCE OF THE XTRA
>> 
>>   CreateDataBase(myDB, myDBPath,1) -- CREATE DATABASE FROM SCRATCH
>> 
>>   -- MAKE A TABLE  **** The baseref OBJ is the table
>>   myBaseTableRef = MakeNewBaseObject(myDB, myDBTable)
>>     valentinaSetExtensions(["vhd","vdb","vdx","vbl"])

First note.

Why you call valentinaSetExtensions() here ?!
Zav, this is option.
You should at first get Valentina working without this.
Later add it.

And valentinaSetExtensions() should be called in fact BEFORE calls Create()
or Open(). Then it will have some effect.



-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list