J
Jaybird
Okay, with much wrangling I've managed to come up with a query based subform
called frmInvoice4 that is completely updatable. It links four tables
together on these fields:
[Order Entry].Order Number (PK) is linked to HDRPLAT.JOBNO
HDRPLAT.INVNUM (PK) is linked to LINPLAT.INVNUM
LINPLAT.INVNUM is linked to tblInvoice.[Invoice Number] (PK)
I'm not sure if the lack of a primary key on the LINPLAT table is going to
cause me trouble later on or not, but for now it seems to work fine.
This subform (frmInvoice4) is placed on a mainform based on the table Order
Entry with a Combo Box that looks up all the available records for Order
Number. This was designed as a search key that would match up the available
Order Numbers from the Order Entry table to the Invoice records from the
tblInvoice, HDRPLAT, and LINPLAT tables.
Like I said, the recordset of the subform (frmInvoice4) is updatable, but
limited to existing records. When I try to go to a new record, I get an
error stating that a matching record cannot be found. What is the workaround
for this?
From a user's perspective, what I need to be able to do is select an Order
Number from the (Search) Combo Box on the main form, which will then match
the Order Number with existing records in the other tables (where they exist)
and move to a new record where they don't exist.
I tried to modify the Record Source property to include the results of the
subform query, but that causes a parameter error that I did not expect.
Can anybody shine a light through the fog?
called frmInvoice4 that is completely updatable. It links four tables
together on these fields:
[Order Entry].Order Number (PK) is linked to HDRPLAT.JOBNO
HDRPLAT.INVNUM (PK) is linked to LINPLAT.INVNUM
LINPLAT.INVNUM is linked to tblInvoice.[Invoice Number] (PK)
I'm not sure if the lack of a primary key on the LINPLAT table is going to
cause me trouble later on or not, but for now it seems to work fine.
This subform (frmInvoice4) is placed on a mainform based on the table Order
Entry with a Combo Box that looks up all the available records for Order
Number. This was designed as a search key that would match up the available
Order Numbers from the Order Entry table to the Invoice records from the
tblInvoice, HDRPLAT, and LINPLAT tables.
Like I said, the recordset of the subform (frmInvoice4) is updatable, but
limited to existing records. When I try to go to a new record, I get an
error stating that a matching record cannot be found. What is the workaround
for this?
From a user's perspective, what I need to be able to do is select an Order
Number from the (Search) Combo Box on the main form, which will then match
the Order Number with existing records in the other tables (where they exist)
and move to a new record where they don't exist.
I tried to modify the Record Source property to include the results of the
subform query, but that causes a parameter error that I did not expect.
Can anybody shine a light through the fog?