Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global mem vars -> global application properties?
Message
From
10/07/2001 12:44:03
 
 
To
10/07/2001 12:24:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00528711
Message ID:
00528722
Views:
15
>I am working with an application that use global variables, i.e. public variables defined in the main program. I would like to replace them with equivalent application specific properties, i.e. properties that can be used anywhere in the application. Values for the properties would come from a table.
>
>Several examples.
>1, Name of current user, security level, etc.
>2. headings for reports, forms, etc.
>
>Questions
>1. Is it possible?
>2. If so how? Please supply sample code snippets.

I suspect I'm missing something obvious. If you want to continue to use your global variables, then you'd simply

USE yourSettingsTable
STORE TheReleventFields TO TheReleventPublicVariables

Do I misunderstand your question?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform