Form becomes Dirty for no apparent reason.

G

Guest

I show the pages of a TAB control programatically and the form becomes
RANDOMLY Dirty for no apparent reason. How can I determine which bound
control is being changed. (The reasons I use this technique are unimportant)

Detail -
TAB has 4 pages and Style is NONE
Code is: TabCtl.Pages(0).SetFocus

On the SAME 'record' of the form, when a page is shown, sometimes Page(1)
then other times Page(0) then Page(3) etc. of the TAB control, the form
becomes dirty.

I go to the next record then come back and another page will cause the form
to become dirty. The Dirty pencil appears IMMEDIATELY after the SetFocus
method so definitely no code is being explicitely executed.
 
M

Michel Walsh

Hi,


Your code probably write in a bound control in the Current event handling
procedure.


Hoping it may help,
Vanderghast, Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top