I was wondering if there is a way I can evaluate a variable that is basically just a do command? Because the program that I am calling is determined by what county a file address is inI can't just type:
Do MyProg ;
***locfile...
For every county there is a different program to be called. The program name is simply the county name. Here is my code:
lcLisSTR = ALLTRIM(lcLisSTR)&&Above this line of code I sparse a string(lcLisSTR) down to the county name
lcDoProg = "DO" + " " + lcLisSTR + " " + "IN LOCFILE('ACTSYS\PROGS\az_taxassessor','PRG','Find')"
EVAL(lcDoProg)
Obviously 'eval' doesn't work here. What can I do to make this work? As always, thanks for your help!
-Kevin
Do MyProg ;
***locfile...
For every county there is a different program to be called. The program name is simply the county name. Here is my code:
lcLisSTR = ALLTRIM(lcLisSTR)&&Above this line of code I sparse a string(lcLisSTR) down to the county name
lcDoProg = "DO" + " " + lcLisSTR + " " + "IN LOCFILE('ACTSYS\PROGS\az_taxassessor','PRG','Find')"
EVAL(lcDoProg)
Obviously 'eval' doesn't work here. What can I do to make this work? As always, thanks for your help!
-Kevin