Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Requerying remote view keeps SQL Passthru from working
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00998976
Message ID:
00998977
Views:
33
>It appears that when I requery a remote view (SQL Server), any SQLEXEC commands are not working if done immediately after the requery. Is there something I can do to allow the SQL Passthru commands to work even if it is still trying to requery the view? I move the requery and everything is fine?? Put the requery back in and the SQLEXEC returns -1.
>
>Thanks,
>Doug

Check why SQLEXEC() returns -1
IF SQLEXEC(.....) < 0

*** UPDATE It is not a good idea to use a reserved words as a variables, sorry

   AERROR(arErr)
   DISPLAY MEMORY LIKE arErr
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform