MasterRacker
New member
I have an app where I want to configure the front-end via settings stored in a local table. I'm planning on reading all the settings in at startup and they need to be available throughout the app.
I've been thinking of creating a custom class to hold key-value pairs then using either a global collection or global array of these to hold what gets read in from the table. Anywhere the app needs to now how it's "configured" I can loop through the collection to find the specific setting I'm looking for.
Is there a better way to do this?
_____
Jeff
[small][purple]It's never too early to begin preparing for [/purple]International Talk Like a Pirate Day
"The software I buy sucks, The software I write sucks. It's time to give up and have a beer..." - Me[/small]
I've been thinking of creating a custom class to hold key-value pairs then using either a global collection or global array of these to hold what gets read in from the table. Anywhere the app needs to now how it's "configured" I can loop through the collection to find the specific setting I'm looking for.
Is there a better way to do this?
_____
Jeff
[small][purple]It's never too early to begin preparing for [/purple]International Talk Like a Pirate Day
"The software I buy sucks, The software I write sucks. It's time to give up and have a beer..." - Me[/small]