1
1redhotraider
Background: My database design has the following tables: GROWER, ENTITY,
FARM. GROWER to ENTITY relationship is one-to-many. ENTITY to FARM
relationship is one-to-many. (ENTITY record contains a foreign key to
GROWER. FARM record contains a foreign key to ENTITY. So a GROWER record
must exist in order to create an ENTITY record. An ENTITY record must exist
to create a FARM record.)
Challenge: I have created a form based on a query that relates all of these
tables. I have created a tabbed control on the form with 3 pages to display
grower, entity, and farm. I have created a button that moves me to a new
record and lets me enter data for all of these - successfully creating 3
brand new related records in each of the 3 tables. I would like to create an
additional button that allows me to create a new ENTITY record using the
currently displayed GROWER record. I would like to display the grower info on
the grower tab page and make the other tab pages allow for new input. (Then
eventually also to create a new FARM record using the currently displayed
GROWER and ENTITY records.)
Your help is greatly appreciated!
FARM. GROWER to ENTITY relationship is one-to-many. ENTITY to FARM
relationship is one-to-many. (ENTITY record contains a foreign key to
GROWER. FARM record contains a foreign key to ENTITY. So a GROWER record
must exist in order to create an ENTITY record. An ENTITY record must exist
to create a FARM record.)
Challenge: I have created a form based on a query that relates all of these
tables. I have created a tabbed control on the form with 3 pages to display
grower, entity, and farm. I have created a button that moves me to a new
record and lets me enter data for all of these - successfully creating 3
brand new related records in each of the 3 tables. I would like to create an
additional button that allows me to create a new ENTITY record using the
currently displayed GROWER record. I would like to display the grower info on
the grower tab page and make the other tab pages allow for new input. (Then
eventually also to create a new FARM record using the currently displayed
GROWER and ENTITY records.)
Your help is greatly appreciated!