G
graeme34 via AccessMonster.com
Hi I have a Receive Invoice data entry form, on this form is a sub form that
has a query based control source, the query contains details of all records
of receipted orders.
The problem I have is I want the subform to show only the related records to
the Order number on the receive invoice record, yet I dont want to create an
occurance of a record in the receive invoice table until the user has
verified the delivery, i.e checked it against the subform. Therefore I cant
link the sub form to the master the way I normally would by showing a SQL
statement of the subforms control source query for each record in the
tblReceiveInvoice, as this record is not yet created. Is there anyway of
doingthis without having to create a temporary table. I have tried using,
[Forms]![frmReceiveInvoice]![txtPurchaseOrderNumber] in the WHERE clause of
the query but this didnt work.
Any help would be greatly appreciated
has a query based control source, the query contains details of all records
of receipted orders.
The problem I have is I want the subform to show only the related records to
the Order number on the receive invoice record, yet I dont want to create an
occurance of a record in the receive invoice table until the user has
verified the delivery, i.e checked it against the subform. Therefore I cant
link the sub form to the master the way I normally would by showing a SQL
statement of the subforms control source query for each record in the
tblReceiveInvoice, as this record is not yet created. Is there anyway of
doingthis without having to create a temporary table. I have tried using,
[Forms]![frmReceiveInvoice]![txtPurchaseOrderNumber] in the WHERE clause of
the query but this didnt work.
Any help would be greatly appreciated