Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL returns -1
Message
From
24/05/2007 16:27:07
 
 
To
24/05/2007 16:22:34
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01228299
Message ID:
01228320
Views:
29
PMFJI, Mark

Have you tryed the aerror() in vfp to see what the error returned is?

HTH
Beth


>>OK, then maybe it's bombing before it even gets to the end.
>>
>>Can you execute it from SQL management studio (or query analyzer) and step through it to see where it might be returning a -1 or an error?
>I did, works fine from query analyzer.
>
>It is in my Fox I have a problem:
>lnRetVal = SQLEXEC(tnConection, tcSqlCommand)
>and lnRetVal is -1.
Previous
Reply
Map
View

Click here to load this message in the networking platform