hey folks,
i'm trying to write some code to perform a multi select list box parameter query using ADO. i'm trying to model this code around some sample DAO code i found here. the sample DAO code uses the QueryDef object to modify the stored query. i read somewhere that ADO has replaced the QueryDef object with a somewhat similar Command object. so you can use the Command object in ADODX to modify the stored query and append it to the Procedures collection. can you then call the query with the DoCmd object and view the dynaset?
basically is it possible to use ADO to perform a multi select list box query or must you use DAO?
thanks
i'm trying to write some code to perform a multi select list box parameter query using ADO. i'm trying to model this code around some sample DAO code i found here. the sample DAO code uses the QueryDef object to modify the stored query. i read somewhere that ADO has replaced the QueryDef object with a somewhat similar Command object. so you can use the Command object in ADODX to modify the stored query and append it to the Procedures collection. can you then call the query with the DoCmd object and view the dynaset?
basically is it possible to use ADO to perform a multi select list box query or must you use DAO?
thanks