Z
ZBC
I want to use a form to select a desired Unit# and to print a report.
The form contains a combo box to select the unit# for grouping on the
report and a command button to actually print the report (which uses a
query as it's record source for it's data).
My dilemma involve how to configure the combo box! ... I get confused
on record source and control source.
What I want is:
To use an existing two-field table (tblUnits containing field names:
Unit#, UnitName) as the means to select the Unit# for grouping of the
report.
I DO NOT want the user to be able to 'change' anything, either the Unit#
or UnitName in tblUnits.
I would like for the combo box to display BOTH the UnitName and the
Unit#; but 'at least' the UnitName.
I want the UnitName to appear on the report and the Unit# to be used for
record selection in my query. (I 'think' I have that part working OK).
I seem to be getting close, but I can't seem to get ALL of the above
working at the same time.
Bob
The form contains a combo box to select the unit# for grouping on the
report and a command button to actually print the report (which uses a
query as it's record source for it's data).
My dilemma involve how to configure the combo box! ... I get confused
on record source and control source.
What I want is:
To use an existing two-field table (tblUnits containing field names:
Unit#, UnitName) as the means to select the Unit# for grouping of the
report.
I DO NOT want the user to be able to 'change' anything, either the Unit#
or UnitName in tblUnits.
I would like for the combo box to display BOTH the UnitName and the
Unit#; but 'at least' the UnitName.
I want the UnitName to appear on the report and the Unit# to be used for
record selection in my query. (I 'think' I have that part working OK).
I seem to be getting close, but I can't seem to get ALL of the above
working at the same time.
Bob