G
Guest
I have a form that includes one of several standard (and very specific, for
legal reasons) statements. So far we have been selecting the statement from
a combo box, but the latest one is too long to display (over 255 characters).
The combo box source is a Remarks table.
There are a few troublesome characteristics of this database, which is an
abomination I inherited and have not had time to redo. For one thing the
form itself is printed. For another the form involves several tables, but
for some reason it is full of unbound text boxes that are written to the
second table through code when the Print button is clicked. The combo box in
question is one such control.
In brief, the user selects a part number from one form and clicks a button.
Information related to that part number appears on another form (the one
referenced in the preceding paragraph), along with unbound text boxes for
Invoice Number, etc. The Print button's click event writes Invoice Number,
etc. to a second table.
The combo box has two columns, one the PK (0 width) and the other the text
(visible). I think I could solve the problem if I could get the value I need
into a text box, but of course if I specify [ComboBox].Column(1) as the text
box's control source that text is also truncated. I expect I need the text
box to display the record from the Remarks table with a PK to match the combo
box selection, but I can't figure out how to go about that. Or am I on the
wrong track completely?
legal reasons) statements. So far we have been selecting the statement from
a combo box, but the latest one is too long to display (over 255 characters).
The combo box source is a Remarks table.
There are a few troublesome characteristics of this database, which is an
abomination I inherited and have not had time to redo. For one thing the
form itself is printed. For another the form involves several tables, but
for some reason it is full of unbound text boxes that are written to the
second table through code when the Print button is clicked. The combo box in
question is one such control.
In brief, the user selects a part number from one form and clicks a button.
Information related to that part number appears on another form (the one
referenced in the preceding paragraph), along with unbound text boxes for
Invoice Number, etc. The Print button's click event writes Invoice Number,
etc. to a second table.
The combo box has two columns, one the PK (0 width) and the other the text
(visible). I think I could solve the problem if I could get the value I need
into a text box, but of course if I specify [ComboBox].Column(1) as the text
box's control source that text is also truncated. I expect I need the text
box to display the record from the Remarks table with a PK to match the combo
box selection, but I can't figure out how to go about that. Or am I on the
wrong track completely?