L
Laurel
I have a simple form with an unbound combo box in the header and the details
bound to a table. Nothing fancy. My problem is that whenever the detail
table happens to be empty (which is OK in the real world) when the user
chooses a value from the combo box, that value doesn't display. The value
is assigned correctly, because code that references the combo box gets the
data that was chosen. The chosen value only displays if the table in the
detail part of the form has rows in it. This happens even if I comment out
the one line of code that references the combo box. In other words, it
happens even if there is no reference to the combo box in code at all. It
is not a linked control to the detail.
I've tried removing it and replacing it with and without the wizard. I've
tried putting this bit of code in the after update event...
ls_temp = cboClassCode
cboClassCode = ls_temp
Can anyone suggest other things for me to try? Has anyone seen anything
like this?
bound to a table. Nothing fancy. My problem is that whenever the detail
table happens to be empty (which is OK in the real world) when the user
chooses a value from the combo box, that value doesn't display. The value
is assigned correctly, because code that references the combo box gets the
data that was chosen. The chosen value only displays if the table in the
detail part of the form has rows in it. This happens even if I comment out
the one line of code that references the combo box. In other words, it
happens even if there is no reference to the combo box in code at all. It
is not a linked control to the detail.
I've tried removing it and replacing it with and without the wizard. I've
tried putting this bit of code in the after update event...
ls_temp = cboClassCode
cboClassCode = ls_temp
Can anyone suggest other things for me to try? Has anyone seen anything
like this?