Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ouch! local ini files and C/S
Message
From
24/04/2009 21:33:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
Network:
Windows XP
Database:
Firebird
Application:
Desktop
Miscellaneous
Thread ID:
01396324
Message ID:
01396350
Views:
70
This message has been marked as a message which has helped to the initial question of the thread.
>Hi all
>
>I use CodeBook as the framework. It use ini file (or registry, which I have overridden) as the place to store settings. Now I have global settings also in there like rounding of values (I know, I know, I am sorry but the world is revolving for me tonight around it :))
>
>Now I was glad when I could connect to FireBird as the backend without sharing harddisk resources between the server and clients. The ini files being local has beat the purpose, at least the global settings I want each and every client pc to inherit.
>
>One thought comes to mind is creating a table in the database that would provide global settings.
>
>What would be the right way. Please advise.

Actually, a settings table with several records - one global, one per workstation, one per user, and a memo in each of them with XML or even a attribute=value list of pairs, and you can have a full hierarchy of settings if you want. Or you can have just one record, for the global. So your ini is in a memo in such a table. You can even copy it out on app start and read the settings the old way.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform