Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using SQLEXEC() for a TSQL file...
Message
 
To
30/08/2002 12:37:29
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00695487
Message ID:
00695773
Views:
10
John,

>You can run the 'Upsizing Wizard' and get it to generate the code for upsizing without actually running the upsizing.
>I've now got that code, but it's in TSQL, not VFP.
>How do I get SQLEXEC() ro tun the entire file, without parsing it one line at a time? I am pretty sure there is a way. Is it SQLPREPARE()?

You can use filetostr() to read the file into a memory variable and use this variable in SQLEXEC().

HTH,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform