Debugging with Valentina Server// VCXMD with VSRV - Getting Started

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Sep 6 22:04:36 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?

Point ONE:

Just a reminder:

in the ini file you can set verbose level to 2 or 3 to get more helper info
from Vserve. This can be useful during development.
    
And you can run console app to see messages from Valentina server.
Check that LotToConsole parameter is 1 in the ini file.

I will send error numbers in the next letter.

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