Sorry I previously posted this in the wrong topic Wont't do it again.
I have a tabbed form which works fine other than the fact that when I change
tab, the record field [ComplaintNumber] located on the subform of main form
does not update on the other tabs, meaning on the main form, as these if I
get it right are just extensions of the main form.
The [ComplaintNumber] is defined on a subform placed on main form.
On the main form when I choose a customer ID, the complaintNumber is created
by an expression on the sql statement followed by an auto number. It looks
like this:
Customer ID number: PEC-12
ComplaintNumber: PEC-12-112
I need to see this number updated on the other tabs, which are also based on
the main form and other tables, so that I can add corresponding data for this
particular record.
I have the OnChange and OnClick events from the Tab form properties, byt to
avail.
Many Thanks,
Chris1
scubadiver - 17 Jul 2007 13:34 GMT
How many tables do you have and what are the relationships. I suspect you
are making this more difficult than required.
> Sorry I previously posted this in the wrong topic Wont't do it again.
>
[quoted text clipped - 18 lines]
> Many Thanks,
> Chris1
Chris - 17 Jul 2007 14:02 GMT
I have TblCustomer and TblComplaintPhase1: The main form (tab form) is based
on a query using both tables.
The other two tables are: TblFullResponsePhase2, and TblFullInvestigation3
relationships:
1 to many between TblCustomers and TblComplaintPhase1
1 to many between TblComplaintPhase1 and TblFullResponsePhase2
1 to many between TblComplaintPhase1 and TblFullInvestigation3
1 to many between TblFullResponsePhase2 and TblFullInvestigation3
Possible scenarios are:
Phase 1 + Phase 2 + Phase3
Phase1 + Phase3
Many thanks,
Chris.
> How many tables do you have and what are the relationships. I suspect you
> are making this more difficult than required.
[quoted text clipped - 21 lines]
> > Many Thanks,
> > Chris1