I know it seems a bit stupid but...
I wish to have two option boxes, one under the other yeah..
Accessing the info for these list boxes from a db the info is going into the one box, where i want two seperate ones.
'ere is my code.
'----------------------------------------------------------
' execute the command, thereby populating the adoRS recordset
Set adoRS = adoCmd.Execute
Do while not adoRS.EOF
dim CatStrs, ValueSubs
call GetFullSubModelsDesc (adoRS, CatStrs, ValueSubs)
'--Gives year range & sub model--
Response.Write "<option value =""" & server.HtmlEncode(ValueSubs) & """>" & adoRS("YearBegin".value & " - " & adoRS("YearEnd".value & " " & CatStrs & "</option>" & vbCrLf
Response.Write "<option value =""" & server.HTMLEncode(ValueSubs) & """>" & adoRS("ModelDescription".value & "</option>" & vbCrLf
adoRS.MoveNext
Loop
'----------------------------------------------------------
I'd be grateful for any help
I wish to have two option boxes, one under the other yeah..
Accessing the info for these list boxes from a db the info is going into the one box, where i want two seperate ones.
'ere is my code.
'----------------------------------------------------------
' execute the command, thereby populating the adoRS recordset
Set adoRS = adoCmd.Execute
Do while not adoRS.EOF
dim CatStrs, ValueSubs
call GetFullSubModelsDesc (adoRS, CatStrs, ValueSubs)
'--Gives year range & sub model--
Response.Write "<option value =""" & server.HtmlEncode(ValueSubs) & """>" & adoRS("YearBegin".value & " - " & adoRS("YearEnd".value & " " & CatStrs & "</option>" & vbCrLf
Response.Write "<option value =""" & server.HTMLEncode(ValueSubs) & """>" & adoRS("ModelDescription".value & "</option>" & vbCrLf
adoRS.MoveNext
Loop
'----------------------------------------------------------
I'd be grateful for any help