PDA

Click to See Complete Forum and Search --> : Queries in Visual basic


Helen Blackburn
Jul 4th, 2000, 09:48 AM
Can some one please help. I am a bit of a beginer when it comes to data reports in visual basic. I have data reports that are based on queries in an access database, some of these queries are queries based on queries. Is there any way that i can base a query in visual basic on another query in visual basic? I am using commands and with SQL statements

Clunietp
Jul 4th, 2000, 12:34 PM
you should be able to query on a query:

select * from [my query name here] where [condition]....

RogerH
Jul 4th, 2000, 01:00 PM
Instead of using queries: Every query is a SELECT command, right? So why don't you just use

SELECT * FROM (SELECT * FROM (SELECT ...) WHERE ...) WHERE ...

Roger