Tab controls

  • Thread starter Thread starter antgel
  • Start date Start date
A

antgel

Hi all,

If I have a bound form with controls in a tab control, do the control values
get saved on changing tab?

Antony
 
antgel said:
Hi all,

If I have a bound form with controls in a tab control, do the control values
get saved on changing tab?

Unless you are using a subform then the form is not "in the Tab Control". The
TabControl is on the form and you have placed some controls on a page of it.
Changing the Tab Page does nothing to the form.

If you are in fact talking about a form with a TabControl in it and on one of
the pages you have placed a subform, then yes, changes made to the sub will be
saved if you do anything that moves focus to the parent form. Changing tab
pages is one thing that would do this.
 
They are not saved to the underlying recordsource until you navigate to
another record do something else that implicitly or explicitly saves the
record. If you have a subform on one of the pages of the tab control and put
focus into the subform, then yes, the record is saved.

The values on any control will be maintained in the current record buffer
until you move to another record or do something else to modify them.
 
Rick said:
Unless you are using a subform then the form is not "in the Tab
Control". The TabControl is on the form and you have placed some

Oops. Some bad grammar there. It's the controls that are in the tab
control. The form isn't in the tab control. Does this help answer my
original question?

A
 
antgel said:
Oops. Some bad grammar there. It's the controls that are in the tab
control. The form isn't in the tab control. Does this help answer my
original question?

Did you read my original answer? (it was no).
 
Back
Top