J
Julian Ganoudis
Using a combo box,is it possible to have more than one
bound value on a form? Is it also possible to display all
the column values for the selected row on the form,
instead of just the one bound value?
For example:
I have a form called "Current Loans", it has two tables;
T_CurLoans and T_Contractor List. T_CurLoans is the
underlying table for the form. Using a combo box, I want
to display all the values for the selected contractor in
the list (T_Contractor List--contractor name, vendor#,
fax#, etc.), not just for selection, but for inclusion in
each record on the form. I can select a particular value
to bind to the form (i.e. contractor name), but I can only
select one value and only display the same value (which is
bound or added to the CurLoans table. How can I display
and add each column value of the selected row to the
form? Note, there can be many contractors for each loan
(record) and I want to include multiple combo boxes (say
up to 5) to display and record multiple contractors and
contact info on the form. Second note, alternately, if I
use a text box to display additional values after the
contractor name has been selected from the combo box, I
can't get a value in the text box (sometimes I get an
error, looking for the "name?"), I don't know how to link
the two tables, since there is no common identifier (like
customer ID in the Northwinds database) where I can link
the two tables and use a query as the underlying source.
(T_CurLoans uses an autonumber field for each new record)
TIA, Julian
bound value on a form? Is it also possible to display all
the column values for the selected row on the form,
instead of just the one bound value?
For example:
I have a form called "Current Loans", it has two tables;
T_CurLoans and T_Contractor List. T_CurLoans is the
underlying table for the form. Using a combo box, I want
to display all the values for the selected contractor in
the list (T_Contractor List--contractor name, vendor#,
fax#, etc.), not just for selection, but for inclusion in
each record on the form. I can select a particular value
to bind to the form (i.e. contractor name), but I can only
select one value and only display the same value (which is
bound or added to the CurLoans table. How can I display
and add each column value of the selected row to the
form? Note, there can be many contractors for each loan
(record) and I want to include multiple combo boxes (say
up to 5) to display and record multiple contractors and
contact info on the form. Second note, alternately, if I
use a text box to display additional values after the
contractor name has been selected from the combo box, I
can't get a value in the text box (sometimes I get an
error, looking for the "name?"), I don't know how to link
the two tables, since there is no common identifier (like
customer ID in the Northwinds database) where I can link
the two tables and use a query as the underlying source.
(T_CurLoans uses an autonumber field for each new record)
TIA, Julian