T
tbrogdon
I have tbl Production w/ fields Production ID (PK & autonumber), Date,
Shift , and Department.
I have tblProductionOperation linked to tblProduction on ProductionID.
For any record in Production I can have many records in
ProductionOperation (e.g., ProductionID, PartID, Qty, Operator, etc.)
I would like to do two different yet similar things:
ONE
I have frmProduction which has the same fields as tblProduction. This
form has a command button that opens frmProductionOperation when
clicked. (This currently works).
I have frmProductionOperation which includes a txt field for
tblProductionOperation.ProductionID (the field linked to
tblProduction.ProductionID - PK).
I would like to know how to, when the user enters Date, Shift, and
Dept on frmProduction and clicks the cmd button, have the txt field on
frmProductionOperation be automatically set to the value from
frmProduction.txtProductionID and have all subsequent records set to
the same value until frmProductionOperation is closed.
TWO
I would like to do exactly the same thing except with
frmProductionOperation embedded in frmProduction.
Thanks,
Tim
Shift , and Department.
I have tblProductionOperation linked to tblProduction on ProductionID.
For any record in Production I can have many records in
ProductionOperation (e.g., ProductionID, PartID, Qty, Operator, etc.)
I would like to do two different yet similar things:
ONE
I have frmProduction which has the same fields as tblProduction. This
form has a command button that opens frmProductionOperation when
clicked. (This currently works).
I have frmProductionOperation which includes a txt field for
tblProductionOperation.ProductionID (the field linked to
tblProduction.ProductionID - PK).
I would like to know how to, when the user enters Date, Shift, and
Dept on frmProduction and clicks the cmd button, have the txt field on
frmProductionOperation be automatically set to the value from
frmProduction.txtProductionID and have all subsequent records set to
the same value until frmProductionOperation is closed.
TWO
I would like to do exactly the same thing except with
frmProductionOperation embedded in frmProduction.
Thanks,
Tim