Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC connection to Oracle Server
Message
 
 
À
08/09/2002 05:46:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00673279
Message ID:
00698094
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform