Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stored Procedures In An Access97 database
Message
From
26/11/2001 15:16:58
 
 
To
26/11/2001 14:59:21
Dave Nantais
Light speed database solutions
Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00585910
Message ID:
00585947
Views:
31
>>Do stored procedures in Access97 exist?
>>>Can a module or a Macro in Access97 be fired by VFP through SQL PassThrough?
>>
>>
>>a) No, AFAIK. What you have is "action queries" or parameterized queries.
>
>How does one fire an "action query" through SQL Pass Through?
>I tried and attempted...
>

A regular query without parameters, you can do something like:
lnRes = SqlExec(lnHandle, "Select * From mySavedQuery")
For parameters you can just pass the SQL directly.

>
>>b) No, but you can do it through Access automation:
>>
oAccess.Run("SayHello") 'Run a public function or Sub
>>oAccess.DoCmd.RunMacro("My Macro") 'Run a macro
>>HTH
>
>Thank you very much for the help thus far...
Previous
Reply
Map
View

Click here to load this message in the networking platform