VCXMD with VSRV - Getting Started

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Sep 6 22:09:18 CDT 2003


on 9/6/03 9:56 PM, Ken Ray at kray at sonsothunder.com wrote:

> on mouseUp
> get Valentina("SetDebugLevel",3)
> get Valentina("Init",20*1024*1024,<your Mac SN>,<your Win SN>)
> put Valentina("Database_New","localhost","sa","sa",15432) into gDBRef
> put Valentina("Database_Open","krdb",gDBRef) into gDBRef
> end mouseUp
> 
> This all worked. (Yay!) However when I added a line to query the
> connected database with something simple:
> 
> on mouseUp
> get Valentina("SetDebugLevel",3)
> get Valentina("Init",20*1024*1024,<your Mac SN>,<your Win SN>)
> put Valentina("Database_New","localhost","sa","sa",15432) into gDBRef
> put Valentina("Database_Open","krdb",gDBRef) into gDBRef
> put Valentina("Database_SQLSelectRecords",gDBRef,"SELECT * FROM
> Users") into tData
> answer tData
> end mouseUp
> 
> I get an "ERROR 1020" being returned by Valentina on the
> "Database_SQLSelectRecords" line. Any idea why this is happening?

Well, 

So I see that you try to open some database.
Question is: Have you register that database into MasterDb ?

You need do this manually for now.
Open master db by VAPP and add one more record to table TABLES

-- 
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