S
Shayne G. Wright
[This followup was posted to microsoft.public.access.forms and a copy was sent to the cited author.]
Hi
I was wondering if the following is possible in Access97
I want to create a master form as a datasheet that displays all records
in my PROPERTY table. As I navigate through the master form datasheet,
and set cursor focus on individual records in the datasheet, I would
like my detail subform(s) to display synchonized data from child tables
of the PROPERTY table.
That is I want a master form for PROPERTY and detail subforms for each
of my related CUSTOMER, PROPERTY_LEGAL, PROPERTY_USE, CUSTOMER_OWNER
child tables. All tables have a FK/PK relationship with the parent
PROPERTY table using an ACCT_ID field.
PROPERTY - PROPERTY_LEGAL 1:M
PROPERTY - PROPERTY_USE 1:M
PROPERTY - CUSTOMER 1:1
PROPERTY - CUSTOMER_OWNER 1:M
So if I have my cursor on record in the master datasheet form, for say
ACCT_ID 12345, the detail subforms will display all PROPERTY_LEGAL,
PROPERTY_USE, CUSTOMER, and CUSTOMER_OWNER records for ACCT_ID 12345.
When I cursor down one record, to select ACCT_ID 12346, all subforms
will be synchronized and display all records for ACCT_ID 12346. That is,
whichever record is selected in master datasheet, will determine the
records displayed in each of my subforms according to the ACCT_ID of the
master record.
Oh yeah, I am not doing any data entry into my base tables...just
querying. So my tables should be protected from accidental updates.
Thanks and take care,
Shayne
Hi
I was wondering if the following is possible in Access97
I want to create a master form as a datasheet that displays all records
in my PROPERTY table. As I navigate through the master form datasheet,
and set cursor focus on individual records in the datasheet, I would
like my detail subform(s) to display synchonized data from child tables
of the PROPERTY table.
That is I want a master form for PROPERTY and detail subforms for each
of my related CUSTOMER, PROPERTY_LEGAL, PROPERTY_USE, CUSTOMER_OWNER
child tables. All tables have a FK/PK relationship with the parent
PROPERTY table using an ACCT_ID field.
PROPERTY - PROPERTY_LEGAL 1:M
PROPERTY - PROPERTY_USE 1:M
PROPERTY - CUSTOMER 1:1
PROPERTY - CUSTOMER_OWNER 1:M
So if I have my cursor on record in the master datasheet form, for say
ACCT_ID 12345, the detail subforms will display all PROPERTY_LEGAL,
PROPERTY_USE, CUSTOMER, and CUSTOMER_OWNER records for ACCT_ID 12345.
When I cursor down one record, to select ACCT_ID 12346, all subforms
will be synchronized and display all records for ACCT_ID 12346. That is,
whichever record is selected in master datasheet, will determine the
records displayed in each of my subforms according to the ACCT_ID of the
master record.
Oh yeah, I am not doing any data entry into my base tables...just
querying. So my tables should be protected from accidental updates.
Thanks and take care,
Shayne