Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Hi Caroline.
>Nice idea Mace unfortunately the dbc contains no tables so I was hoping to use its structure - I've currently set it to use DBGetProp and the Comment field but this doesn't seem ideal.
If you don't want to use something external for this (eg. INI file, Windows Registry, free table, etc.), then go with Macer's suggestion of using the DBC itself. However, rather than adding a record to it, which will cause problems with things like VALIDATE DATABASE, it would be safer to use the USER memo field in the DBC. It isn't used for anything in VFP; as its name suggests, it's for user stuff. You could put a date, a version number, or anything you want (converted to character, of course) in the USER memo of any record (the first one, which is for the database itself, makes the most sense in this case).
Doug
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement