Soldato
Is it possible to use values from 2 fields in one list box?
I'm creating a cinema booking website in which on of the tables consists of the following fields -
Now as the seats are in their own fields with a true or false value I'm finding it almost impossible to allow their selection via a list box.
I know these details are pretty sketchy but can anybody guide me in the right direction?
I did come up with one idea..
The code to show one field is -
If I can somehow edit the last line of code to look like the following -
Thanks for any advice..
I'm creating a cinema booking website in which on of the tables consists of the following fields -
Showing ID (to link to a time in a different table)
Seat 1
Seat 2
Seat 3
Seat 4 etc..
Now as the seats are in their own fields with a true or false value I'm finding it almost impossible to allow their selection via a list box.
I know these details are pretty sketchy but can anybody guide me in the right direction?
I did come up with one idea..
The code to show one field is -
<option value="<%=(rs_scr6seats.Fields.Item("Showing_ID").Value)%>"
<%If (Not isNull((rs_scr6seats.Fields.Item("Showing_ID").Value))) Then
If (CStr(rs_scr6seats.Fields.Item("Showing_ID").Value) = CStr((rs_scr6seats.Fields.Item("Showing_ID").Value)))
Then Response.Write("selected=""selected""") : Response.Write("")%> ><%=(rs_scr6seats.Fields.Item("AA1").Value)%></option>
If I can somehow edit the last line of code to look like the following -
><%=(rs_scr6seats.Fields.Item("AA1"),("AA2"),("AA3"),("AA4").Value)%></option>
Thanks for any advice..
Last edited: