Arul.rajesh
Active Member
- Joined
- Sep 20, 2011
- Messages
- 285
I have a list of values which are names of arrays
Something like
Each four digit string is an array.
The user selects an option from a ComboBox
I need to Set the value of a another variable to an element in the array referenced by the "CODE" the user selects.
The problem is the selected text is a string.
I can loop through all the codes and check if the user has selected which "CODE", if I have the name of the array as the first element in the array.
Something like
Code:
CDS=Array(CIPR,CIPW,PTPA,CSRP,CITR,CPER,CPCT,CPSC,CW9D,VMLE,VMAD,AUTH,AUTE,AUTB,AUTL,NMRC,NMRE,NMRF,NMFR,CDTF,DTFA,CDTE,CNOF,CFWA,CDED,CDES,DEDR,CCOB,PEOB,CCOD,BMAX,MAXS,CNCS,CNPI,CFAX,CAPP,DEFA,CPEE,CPFL,CFWU,CFWE,CCAP,AUTW,CITW,CIPE,CDUP,CPNL,BMBS,ADDI,POSR,CLIC,CLIA,COIN,HOSP,OONP,POST,PPMX,PPMD,PROV)
Each four digit string is an array.
The user selects an option from a ComboBox
I need to Set the value of a another variable to an element in the array referenced by the "CODE" the user selects.
The problem is the selected text is a string.
I can loop through all the codes and check if the user has selected which "CODE", if I have the name of the array as the first element in the array.