Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP, ODBC, ADO, HTML ... BFD!
Message
 
To
10/12/1997 17:16:41
Rod Wagoner
Tucson Electric Power
Tucson, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00065142
Message ID:
00065203
Views:
36
>1. Can one execute stored procedures via a trigger in FoxPro over ODBC?

I haven't done this in a while as i opt to stay away from the whole limited ODBC mess, but you
can access a stored procedure by executing a SQL statement that contains a UDF() that's
part of the dictionary.

>2. Can one return values from an OLE server that are not written to a form, grid, etc?

Like what? You can return any simple types and objects...

>3. Is it possible to create a public class that is based on a cursor .. ie returned from
> SELECT * FROM x INTO CURSOR y

Not really. FoxData is not something you can pass via an object. You can however pass an
object that wraps the data. For example, you can do SCATTER loObject MEMO to create an
object of the current record and pass that back to ASP.

>4. Should I just use the evil Oracle or SQL Server and forget this exercise?

The issues are much the same. There are some problems that require workarounds
with the VFP ODBC driver, but overall it works and you get the flexibility of
using Fox Expressions in your ADO queries.

ADO and VFP isn't my first choice though...
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform