J
Jaybird
Here are the fields for two tables:
The first is HDRPLAT:
CUSTNO
SHIPNO
INVNUM
INVDTMD
INVDTY
SHIPDTMD
SHIPDTY
JOBNO
CUSTPO
CRMEM
The second is LINPLAT:
INVNUM
ACCTLAB
ACCTPRE
ACCTSUF
KEYNUM
LINETOTL
ORDQTY
SHIPQTY
HDRPLAT is a table for invoice records and LINPLAT is a table for invoice
details. I can create a one to many relationship on the INVNUM fields where
it is the primary key for HDRPLAT and the foreign key for LINPLAT. Does it
matter if LINPLAT has no primary key? I can create a multi-field primary key
for this, but do I need to? I want to create subforms based on these tables
and nest the LINPLAT subform within the HDRPLAT subform, so that it will be
easier to relate both tables to my Order Number (=JOBNO) field on my
mainform. The problem I've been having is that one or another of the
subforms wind up being unupdatable.
The first is HDRPLAT:
CUSTNO
SHIPNO
INVNUM
INVDTMD
INVDTY
SHIPDTMD
SHIPDTY
JOBNO
CUSTPO
CRMEM
The second is LINPLAT:
INVNUM
ACCTLAB
ACCTPRE
ACCTSUF
KEYNUM
LINETOTL
ORDQTY
SHIPQTY
HDRPLAT is a table for invoice records and LINPLAT is a table for invoice
details. I can create a one to many relationship on the INVNUM fields where
it is the primary key for HDRPLAT and the foreign key for LINPLAT. Does it
matter if LINPLAT has no primary key? I can create a multi-field primary key
for this, but do I need to? I want to create subforms based on these tables
and nest the LINPLAT subform within the HDRPLAT subform, so that it will be
easier to relate both tables to my Order Number (=JOBNO) field on my
mainform. The problem I've been having is that one or another of the
subforms wind up being unupdatable.