After Update

S

Stephanie

I have a combo box and three unbound date fields. When a selection is made
in the combo box, the fields become bound to the field identified in the
combo box. My problem is that all is fine until I leave the record then
return. The combo selection is still there, but the dates entered are not.
They are in the tables, but don't show up on the form unless I reselect the
selection in the combo box, but when I go to enter a new entry, the dates go
away again.

Help!!!!
 
H

HC

My best guess ... when you leave the record the form get refresh.
That's why the combo box get reinit. why don't you have a global
variable which it will keep the dates that you've enter the first time.
If they pick another date you will have a difference date on that
global variable. Hope it helps and good luck.
 
S

Stephanie

The dates are being saved in the appropriate tables, it's just that they are
not reappearing on the form.
 
D

Dirk Goldgar

Stephanie said:
I have a combo box and three unbound date fields. When a selection
is made in the combo box, the fields become bound to the field
identified in the combo box. My problem is that all is fine until I
leave the record then return. The combo selection is still there,
but the dates entered are not. They are in the tables, but don't show
up on the form unless I reselect the selection in the combo box, but
when I go to enter a new entry, the dates go away again.

Help!!!!

How do three different "fields" (textboxes?) become bound to the same
"field identified in the combo box"? Please post all the code involved,
along with the rowsource and bound column of the combo box, and the
recordsource of the form.
 
Top