M
mark kubicki
I am working on a project with a linked table and need to create an
automatically updating field on a form of the active project with
information from the linked table
---this ought to be easy (I'm certain); but with my limited, self-taught,
lack of knowledge...
the active project is: [FixtureSchedule]
with table: [tblFixtureTypes]
having fields: [manufacturer], [catalogue_no]...
it is linked to the project [MasterFixtureData]
with tables:
[tblFixtureCatalogues] (fields: [manufacturer], [catalogue_no]...),
[tblManufacturer] (fields: [Manufacturer], [rep_agency])
[tblRepAgencies] (fields: [rep_agency], [rep_contact],
[rep_telno]...)
the relationships are established like this:
[tblFixtureTypes].[manufacturer] to
[tblFixtureCatalogues].[manufacturer], one to many
[tblFixtureCatalogues].[manufacturer] to
[tblManufacturer].[manufacturer], one to many
[tblManufacturer].[rep_agency] to [tblRepAgencies].[rep_agency],
one to many
------
a form [frmScheduleEntry] exists with:
combobox: [cboManufacturer]
textbox: [txtRepAgency]
the data source for [txtRepAgency] is: query: qryRepAgency
qryRepAgency contains:
[tblManufacturer].[manufacturer], with criteria
[Forms]![frmScheduleEntry]![cboManufacturer]
[tblManufacturer].[rep_agency]
Expr1: [tblRepAgencies]![rep_contact] & (Chr(10)+Chr(31)+" -
"+[tblRepAgencies]![rep_telno]
behind the form's current event is: me.requery
behind the form's cboManufacturer is me.[txtRepAgency].requery
...... nothing updates
thanks in advance,
mark
automatically updating field on a form of the active project with
information from the linked table
---this ought to be easy (I'm certain); but with my limited, self-taught,
lack of knowledge...
the active project is: [FixtureSchedule]
with table: [tblFixtureTypes]
having fields: [manufacturer], [catalogue_no]...
it is linked to the project [MasterFixtureData]
with tables:
[tblFixtureCatalogues] (fields: [manufacturer], [catalogue_no]...),
[tblManufacturer] (fields: [Manufacturer], [rep_agency])
[tblRepAgencies] (fields: [rep_agency], [rep_contact],
[rep_telno]...)
the relationships are established like this:
[tblFixtureTypes].[manufacturer] to
[tblFixtureCatalogues].[manufacturer], one to many
[tblFixtureCatalogues].[manufacturer] to
[tblManufacturer].[manufacturer], one to many
[tblManufacturer].[rep_agency] to [tblRepAgencies].[rep_agency],
one to many
------
a form [frmScheduleEntry] exists with:
combobox: [cboManufacturer]
textbox: [txtRepAgency]
the data source for [txtRepAgency] is: query: qryRepAgency
qryRepAgency contains:
[tblManufacturer].[manufacturer], with criteria
[Forms]![frmScheduleEntry]![cboManufacturer]
[tblManufacturer].[rep_agency]
Expr1: [tblRepAgencies]![rep_contact] & (Chr(10)+Chr(31)+" -
"+[tblRepAgencies]![rep_telno]
behind the form's current event is: me.requery
behind the form's cboManufacturer is me.[txtRepAgency].requery
...... nothing updates
thanks in advance,
mark