Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CONNECTIONS
Message
 
 
À
19/08/1999 16:30:46
Timothy Enright
Coos Bay Public Schools
Coos Bay, Oregon, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00255269
Message ID:
00255529
Vues:
21
>Mark,
>
>Thanks for the response,
>
>Do you use remote views or sql pass-through? how do you handle a busy connection or do you just hope for the best?
>
>...tim

I use a combination of both views and SPT. Once I establish the connection with a remote view, I use CursorGetProp("ConnectHandle", View_Name) to get the connection handle. I use this handle in my SPT. I use views for all updatable data and some read-only. I use SPT for really complex SQL like those with UNIONs.

I use the synchronous option so I have an error trap on error #1541 and give the user a choice to retry or cancel the query. The only time I got this error was when I change the number of records to retrieve for my dummy view to 1 instead of all. This surprised the heck out of me becasue the table only had 1 record.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform