rjmccorkle
Programmer
In R:Base there is a concept of an AMPERSAND VARIABLE. If there is an "&" at the start of the variable name it can be used as part or all of a command. An SQL command example would be:
SET VAR VWHERE = 'WHERE NAME IS NOT NULL'
SELECT ALL FROM table &VWHERE
Or the whole SELECT statement could be stored in a variable then executed by putting the ampersand in front of the variable and putting the ampersand variable on a line by itself.
Is there anything similar to this in VB? I am looking for something specifically to solve the problem of loading a form when its name is stored as a string variable and generally a tool to build commands from variables.
Thanks for any help.
Bob
SET VAR VWHERE = 'WHERE NAME IS NOT NULL'
SELECT ALL FROM table &VWHERE
Or the whole SELECT statement could be stored in a variable then executed by putting the ampersand in front of the variable and putting the ampersand variable on a line by itself.
Is there anything similar to this in VB? I am looking for something specifically to solve the problem of loading a form when its name is stored as a string variable and generally a tool to build commands from variables.
Thanks for any help.
Bob