>What is the best way to handle preferences in a VFP program. In other systems I have created a single (database/table) file with one record to included a field (type dependent) on each preference in the program. I would then refer to that PrefTable.PrefField when needed.
>
>I've read through a couple of VFP text books and have yet to find any specific reference to handling this.
The three ways are:
1) Ini
2) Registry
3) Vfp table
1) Has become rather passe by now
2) Is popular, and a quite standard, though will require a little learning curve. Actually, the big problem I have with registry is that Central LAN does not want me to use it except for specific DLL, OCX, etc., registration. We have a big problem with "registry congestion."
3) I still like, as it's more vfp-specific - it fits perfectly for usage in a vfp app, oyu can use any data-types you wish. Since I'm forced to use it anyway, I might as well say it works very well when placed on a hard drive and opened exclusively. Any adjustments can be made with ALTER TABLE easily in a full or preference-table specific EXE...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.