Hi everyone,
Ok so what I am basically trying to do is this:
sql = "SELECT * FROM LiftPasses WHERE "&Session("QC_GroupType")&"= 'Yes'"
set liftpassDB = doquery(sql)
I have also tried:
If liftpassDB(Session("QC_GroupType")) = "Yes" Then
But with no joy, does anyone knoe if this is a) possible b) where i am going wrong or c) an alternative solution.
What I basically what to do is look at the database, and extract the records where the "GroupType" is set to "Yes" in the database. In order to show results that are correct for that specific group dynamically.
The GroupType is currently stored in a Session Variable.
Thanks in advance.
Alex
Ok so what I am basically trying to do is this:
sql = "SELECT * FROM LiftPasses WHERE "&Session("QC_GroupType")&"= 'Yes'"
set liftpassDB = doquery(sql)
I have also tried:
If liftpassDB(Session("QC_GroupType")) = "Yes" Then
But with no joy, does anyone knoe if this is a) possible b) where i am going wrong or c) an alternative solution.
What I basically what to do is look at the database, and extract the records where the "GroupType" is set to "Yes" in the database. In order to show results that are correct for that specific group dynamically.
The GroupType is currently stored in a Session Variable.
Thanks in advance.
Alex
Comment