I am about to attempt something i have not done before. I believe the best way will be to use multiple recordsets. my code will look similar too:
dim adors
dim locrs
dim catrs
dim sqlstr
dim locsql
dim catsql
set adors= server.createobject ("adodb.recordset"
set locrs= server.createobject ("adodb.recordset"
set catrs= server.createobject ("adodb.recordset"
set sqlstr= "Select * from ABC where btype=(('" & cat & "')_
and blocation=('" & loc & "'));"
set locsql= "----code to fill drop down form----;"
set catsql= "----code to fill drop down form----;"
adors.open, sqlstr DSN="S215"
locrs.open, locsql DSN="S215"
locrs.open, catsql DSN="S215"
Sorry if any of this seems sophmoric. Just wanted some opinions before i actually ran with this code.
(This code was typed relatively quickly during lunch break so thier may be some syntax errors or spelling mistakes)
dim adors
dim locrs
dim catrs
dim sqlstr
dim locsql
dim catsql
set adors= server.createobject ("adodb.recordset"
set locrs= server.createobject ("adodb.recordset"
set catrs= server.createobject ("adodb.recordset"
set sqlstr= "Select * from ABC where btype=(('" & cat & "')_
and blocation=('" & loc & "'));"
set locsql= "----code to fill drop down form----;"
set catsql= "----code to fill drop down form----;"
adors.open, sqlstr DSN="S215"
locrs.open, locsql DSN="S215"
locrs.open, catsql DSN="S215"
Sorry if any of this seems sophmoric. Just wanted some opinions before i actually ran with this code.
(This code was typed relatively quickly during lunch break so thier may be some syntax errors or spelling mistakes)