Hi,
Quick question. I usually work in php and I know I can do this in php no problem. But I'd like to do this page in asp so I am hoping someone can help me with my problem.
Here's an example of the problem:
I've got 16 recordsets named:
rs_week1
rs_week2
etc...
I am getting an integer, week, from another recordset...this will be returned as an integer.
I want to contatenate this onto "rs_week" such as
var = "rs_week" & week
so var now equals "rs_week1".
I'll be looping through this over and over so I just want to get the recordset that corresponds to the current week.
Anyone have any ideas how I can get recordset rs_week1 from this dynamically?
Quick question. I usually work in php and I know I can do this in php no problem. But I'd like to do this page in asp so I am hoping someone can help me with my problem.
Here's an example of the problem:
I've got 16 recordsets named:
rs_week1
rs_week2
etc...
I am getting an integer, week, from another recordset...this will be returned as an integer.
I want to contatenate this onto "rs_week" such as
var = "rs_week" & week
so var now equals "rs_week1".
I'll be looping through this over and over so I just want to get the recordset that corresponds to the current week.
Anyone have any ideas how I can get recordset rs_week1 from this dynamically?