E
Eych
I have a module which has a function that returns values from a table.
e.g.
GetFromUsersTable(userID,"UserName")
GetFromUsersTable(userID,"UserDept")
etc.
depending on the userID passed, it will return the field requested.
Question is where/how do I define constants that I can use in place of
"UserName", "UserDept", etc., in case these field names change?
What is the correct syntax and where could I place them (in the main
module, in their own module, a class)?
thanks.
e.g.
GetFromUsersTable(userID,"UserName")
GetFromUsersTable(userID,"UserDept")
etc.
depending on the userID passed, it will return the field requested.
Question is where/how do I define constants that I can use in place of
"UserName", "UserDept", etc., in case these field names change?
What is the correct syntax and where could I place them (in the main
module, in their own module, a class)?
thanks.