Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC connection to Oracle Server
Message
 
 
To
08/09/2002 05:46:18
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00673279
Message ID:
00698094
Views:
15
My guess is you have your Asynchronous and/or BatchMode properties set wrong. Use SQLGETPROP() to determine what these settings are. Asynchronous should be FALSE, and BatchMode should be TRUE. These props can be set globally before you open any views --

SQLSETPROP(0, 'Asynchronous', .F.)
SQLSETPROP(0, 'BatchMode', .T.)

>Mark
>
>I've managed to get the Oracle driver working, but the problem that I have is refreshing a remote view that's linked to the Oracle database. I have to insert a pause, directly before the refresh() command, to give the view enough time to update. If I omit the pause, or the pause isn't long enough, I either get an error message, or I'll only have a sub-section of the results. I've currently got the pause at 5 seconds, and this will return around 1000 Oracle results. Surely I'm not supposed to keep do it in this way?
>
>Regards
>
>Derek
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform