Hiya
Im still having difficulties querying a query depending on the value selected. Ive done a bit of experimenting.
The sample program consists of a table, querie and a form.
In the table i have one field with several page sizes in it e.g "5*4", "A4" etc.
The query is based on the one field of the table with a Where contition of SQL3.
In the form i basically have a command button with code as follows
Dim sql3 As Variant
sql3 = "5*4"
stDocName = "Query1"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Thanks in Advance
Im still having difficulties querying a query depending on the value selected. Ive done a bit of experimenting.
The sample program consists of a table, querie and a form.
In the table i have one field with several page sizes in it e.g "5*4", "A4" etc.
The query is based on the one field of the table with a Where contition of SQL3.
In the form i basically have a command button with code as follows
Dim sql3 As Variant
sql3 = "5*4"
stDocName = "Query1"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Thanks in Advance