General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only