Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Storing grid class highlight color
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01220104
Message ID:
01220203
Views:
26
><snip>
>>>
>>>That's a good point. I guess my main worry is how I will coordinate the grid class with the usersettings table across multiple apps. I'm not using a framework and there needs to be a standard way to create and maintain this new table.
>>
>>Create the table with an 'application' field and place it in a common location as a free table.
>
>Yes but one app may have cuserid, another usernum... userid... username... etc...

I would standardize the user reference within the new table and use a COM object to handle the interaction between the individual applications and the table. Each object could call a particular retrieve method depending on how the data is to be returned.

You could also modify all the apps to use a standard user reference, however, depending on how extensively the settings are used this could be a lot of work.
Wine is sunlight, held together by water - Galileo Galilei
Un jour sans vin est comme un jour sans soleil - Louis Pasteur
Water separates the people of the world; wine unites them - anonymous
Wine is the most civilized thing in the world - Ernest Hemingway
Wine makes daily living easier, less hurried, with fewer tensions and more tolerance - Benjamin Franklin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform