Hi Guys...
the below is the test code with test data...
strReps = "Jim,Pete,Fred,Jane,Brian"
strRepIDs = "1,2,3,4,5"
strSelectedRepIDs = "0,0,0,0,0"
arrayReps = split(strReps,",")
arrayRepIDs = split(strRepIDs,",")
Now i want to replace this test code with actual data from the database..
lets say i have rsObj,conn everything set
and
SQL="SELECT RepName,RepId From REPS"
So how do i get the values of above variables strReps...etc..
Do i need to create arrays and change the logic or can i just emulate the above structure??
-VJ
the below is the test code with test data...
strReps = "Jim,Pete,Fred,Jane,Brian"
strRepIDs = "1,2,3,4,5"
strSelectedRepIDs = "0,0,0,0,0"
arrayReps = split(strReps,",")
arrayRepIDs = split(strRepIDs,",")
Now i want to replace this test code with actual data from the database..
lets say i have rsObj,conn everything set
and
SQL="SELECT RepName,RepId From REPS"
So how do i get the values of above variables strReps...etc..
Do i need to create arrays and change the logic or can i just emulate the above structure??
-VJ