Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preferences
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00231573
Message ID:
00231643
Views:
14
>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
Map
View

Click here to load this message in the networking platform