Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Do I Best Allow Users To Update Const Values?

Status
Not open for further replies.

BenSC

Technical User
Jul 24, 2001
43
GB
Dear All,
I have a module which stores a number of Constants that specify average action rates.

I need to allow a superuser to change these rates, but am reluctant to provide them a function to open the module as they would then be able to view\edit all my other code.

Does anyone know of a method where I can allow my superuser to edit these standards, but also to keep them out of my other sections of code?

Many Thanks
Ben Cooper
 

Keep your Constants in a table! Let him be the only one (besides you) to Read + Update it. On start up, pass the values to a module's public variables and leave the rest as is!

 
Like Jerry said, just have him open a pop-up form, with a password.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top