G
Guest
I'm new to Access VBA, But i've used VBA in other office products
I would like to take the results of a query and place those results in a
variable.
I then want to use that variable as criteria in another query.
For example:
Dim age1 as integer
age1 = Select age from Table1 where SSN='000-11-2222'
Select * from Table1 where age1-2<age<age1+2
Any idea on how to do this?
Thanks
I would like to take the results of a query and place those results in a
variable.
I then want to use that variable as criteria in another query.
For example:
Dim age1 as integer
age1 = Select age from Table1 where SSN='000-11-2222'
Select * from Table1 where age1-2<age<age1+2
Any idea on how to do this?
Thanks