I
Ivor Williams
I have a form with a subform. In the subform is a field ProjNo. On the form
is a command button which, when clicked opens a query. The intent of the
query is to return a list of all the different values in the ProjNo field on
the subform. I've used as a record source for the query the table which is
the record source for the subform. In the Criteria field of the query, I've
used the following: Forms.frmPO.sfrOrder.Form.ProjNo. This works fine,
except the query only returns the ProjNo for current record in the subform.
How do I get the query to return all the records, not just the current one?
Ivor
is a command button which, when clicked opens a query. The intent of the
query is to return a list of all the different values in the ProjNo field on
the subform. I've used as a record source for the query the table which is
the record source for the subform. In the Criteria field of the query, I've
used the following: Forms.frmPO.sfrOrder.Form.ProjNo. This works fine,
except the query only returns the ProjNo for current record in the subform.
How do I get the query to return all the records, not just the current one?
Ivor