Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best coding practices regarding open/unopen tables
Message
De
17/12/2003 10:20:59
 
 
À
17/12/2003 09:50:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00859873
Message ID:
00859901
Vues:
17
Hi Darrell

My suggestion is simple: Use SQL and cursors as much as possible. If you take some time and analyse your system, you will probably be able to use SQL so much that your tables will almost never stay open. I have done this myself for many years, and whenever I have a power failure or something, I can be almost sure that my data is safe.

>An application I am working on opens tables at the beginning and does not close the tables until the end. The application does not use private data sessions. The assumption throughout is that these tables are always open. Of course, like many apps, as it expands things accidentally get close, crashes happen, etc. etc. and tables are not always open.
>
>Is it better in methods/programs to make sure the table is first open and if not open it or to generate an error and try to figure out why the table was closed in the first place and fix that problem?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform