General information
Category:
Coding, syntax & commands
>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
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