Close and open

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

On a form B I have this code to close the current form, and reopen it with
the Edit_B_values_Click macro. The Click macro is run when a button on
form_frmA is clicked, but can be adressed by code.


DoCmd.Close
Form_frm_A.Edit_B_values_Click

My problem:
I have a combobox on frm_B that, when clicking on it , labels are filled in.
after closing and reopening my form, I do not see my values in the labels
anymore.

Anyone encounterred this problem before?
 
Zurn,

If you are using a macro or VBA procedure to modify the Caption property
of labels on the form, these modifications only persist for the life of
the form session. Is that what you are doing? Maybe you could give
some more details, with examples, of what you want to happen.
 
The only thing I want to do is to close a form, and open it again.
In the 'opening macro' of the form, several labels are filled in...but after
closing and then reopening (by using the click button on the main form) the
form does everything exept monitoring the label content. All labels are shown
(set to visible), the combo boxes show the right value...but labels show no
caption.
 
Back
Top