Create a dynamic variable from a recordset
Hi Everyone,
I think this an easy one.
What i have is a subscription page which loops though their subscribed categories. What i want to do is have a variable called show1250 = "tick"
(where the 1250 is the objRS("CatID") value )
I cant join the show and the objRS("CatName") together.
eg.
Do While Not objRS.EOF
Response.Write objRS("CatName")
' This bit i cant get right joining the show and the objRS("CatName")
"show" + objRS("CatName") = "ticked"
objRS.MoveNext
Loop
This way when i grab all the subscription categories later on down the page i can just do a check in my loop where or not to tick the check box or leave it unticked.
Thanks for you help
Tim
TDA
__________________
TDA
|