ADO requery 
Author Message
 ADO requery

Hi there

If I already have a recordset called rs but I want to run a query on
that recordset. How do we go about it using ADO ...

for example in DAO I think it was: set rsNew = "select * from " &
rs.name &  "where Mydate = '01/01/99'"

Thanks for the help
Clyde



Quote:
>Hi there

>If I already have a recordset called rs but I want to run a query on
>that recordset how do we go about it ...

>for example in DAO I think it was: set rsNew = "select * from " &
>rs.name &  "where Mydate = '01/01/99'"

>Thanks for the help
>Clyde



Sat, 03 Nov 2001 03:00:00 GMT  
 ADO requery
Hi there

If I already have a recordset called rs but I want to run a query on
that recordset how do we go about it ...

for example in DAO I think it was: set rsNew = "select * from " &
rs.name &  "where Mydate = '01/01/99'"

Thanks for the help
Clyde



Sat, 03 Nov 2001 03:00:00 GMT  
 ADO requery
ADO has a filter option which will allow you to filter the data in a record
set.

eg.

rs.Filter = "Mydate='01/01/99'"

hope this helps
Derek

Quote:

>Hi there

>If I already have a recordset called rs but I want to run a query on
>that recordset. How do we go about it using ADO ...

>for example in DAO I think it was: set rsNew = "select * from " &
>rs.name &  "where Mydate = '01/01/99'"

>Thanks for the help
>Clyde



>>Hi there

>>If I already have a recordset called rs but I want to run a query on
>>that recordset how do we go about it ...

>>for example in DAO I think it was: set rsNew = "select * from " &
>>rs.name &  "where Mydate = '01/01/99'"

>>Thanks for the help
>>Clyde



Sun, 04 Nov 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. ADO Requery disables text boxes

2. ADO Requery Error

3. ADO Requery

4. Question about ADO Requery

5. ADO Requery disables text boxes

6. ADO.Requery vs. Combobox.refill / refresh

7. ADO Requery returns Err. 3219: HELP!!!

8. ADO requery gets a Run Time Error 8040e05 'An object was open'

9. WIN2000 ADO ERROR -2147467259 With Requery

10. ado and requery

11. Requery ADO recordset

12. Requery Error Message (ADO)

 

 
Powered by phpBB® Forum Software