Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A good naming convention for fields
Message
De
08/05/2001 15:32:45
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
À
08/05/2001 03:37:26
Lowe Alan
Lowes Information Kiosks
Brisbane, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00472294
Message ID:
00504957
Vues:
28
>Use the suggested way in your as follows:
>
>Product.ID
>
>This way you are explicitly reference the ID field in the Product table, you can then easily search for Product.ID and the your code is easily read by others - Problem solved!

Still a problem:

1) Often I will have the same table open multiple times, each with a different alias ... for lookups, recursive relations, cursors, etc.

2) The "fields" may be SCATTERED variables ... including memvars and NAMEd objects.

3) The field names may also be "mapped" one-for-one to Form Control object names.

In every case, I still want to know "where" the Field (name) is referenced; directly or indirectly, regardless of the "container".
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform