General information
Category:
Coding, syntax & commands
>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.
>
>Are there better ways to deal with this in VFP???
>
>Thanks in advance,
>Craig
Same here - just call a function with the code of the preference and let it find it and work out the type to return (one of the joys of VFP, returning any type from a function).
I extend it with GLOBAL and LOCAL (or USER) preferences.
Previous
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