Tab control problems

Fisher

Registered User.
Local time
Today, 12:51
Joined
Dec 17, 2003
Messages
28
I have a main form that has a tab control with five pages / tabs. Each page has one subform on it that is set to display as a continuous form. The data on each of these pages is from the same table and the primary key from the table exists on each subform. There is also a date field that is displaying on each page. The problem I am having is when the user enters the date on the first page and then clicks on the tab of the next page without clicking out of the field, the whole form (main form and sub forms) refreshes and everything is blank. This only occurs when a new entry has been made on the main form. Whenever an existing record is used in the main form there is no problem.
My terminology is often not correct so I am attaching a copy the database.
I appreciate any help you can offer.
 

Attachments

Last edited:
I tried your db and could not fault it. Do you mean when a user enters the date on the first tab (Height and Weight) and then clicks on the next tab?.. (Cause if that is true I can not make it do anything strange)

Sam
 
Thanks for replying.
Yes, sort of. If the user enters a new patient on the main form and then enters only a date on the first page without height and weight, then clicks on the next tab while the cursor is still in the date field, the whole form refreshes.
 
In your TabCtl30, instead of putting

Me.Requery change to Me.Recalc,

Le
 

Users who are viewing this thread

Back
Top Bottom