Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Permanently Deleting Records using SQL
Message
From
22/03/2003 05:54:22
 
 
To
21/03/2003 06:49:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00768156
Message ID:
00768885
Views:
34
Hi,

>>Viv, Coldfusion uses ODBC for VFP. I think using a stored procedure would do the trick. However, I'm not sure how to implement it. Where exactly do I put the code and how is it triggered to run? Is there a quick tutorial somewhere? Thanks for your help.

I think you need OLEDB to execute a VFP stored procedure directly. With ODBC you could bodge it by having the stored procedure as, for example, an update trigger on a 'dummy' table. However,given the handle, you should be able to just use :
=SQLEXECUTE(nHandle,"SET EXCLUSIVE ON;PACK mytable")
See Q234756 in the MSDN KB for more detail.
HTH,
Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform