CliffHanger9
zigga zigga
- Local time
- Today, 04:09
- Joined
- Nov 1, 2004
- Messages
- 20
I currently have a module that has global variables set at the top.
I would like to however store these values in a table so that I can build a form for someone who does not know VB and they can go to the form and change the settings, or values of the global variables.
I would like to set the form_load to load the values of the table fields into text boxes on the form where the column titled "default" has a value of Y
Has anyone done this before? stored settings in a table? how did you access them?
I tried...
Public Const TABLENAME_PREFIX As String = Form_ControlCenter.txtConfig_tablePrefix.value
Thinking that I could capture the setting from a form that would auto load the default values, but obviously you can only declare constants as literals, not an object, or another variable.
I am interested to hear if any one has done this or has any suggestions or direction for this. It would most certainly be GREATLY APPRECIATED!!!!!!!
Thanks in advance!!
I would like to however store these values in a table so that I can build a form for someone who does not know VB and they can go to the form and change the settings, or values of the global variables.
I would like to set the form_load to load the values of the table fields into text boxes on the form where the column titled "default" has a value of Y
Has anyone done this before? stored settings in a table? how did you access them?
I tried...
Public Const TABLENAME_PREFIX As String = Form_ControlCenter.txtConfig_tablePrefix.value
Thinking that I could capture the setting from a form that would auto load the default values, but obviously you can only declare constants as literals, not an object, or another variable.
I am interested to hear if any one has done this or has any suggestions or direction for this. It would most certainly be GREATLY APPRECIATED!!!!!!!

Thanks in advance!!