Tab Control - Change as Move to Next Record

trstorer

Registered User.
Local time
Today, 16:42
Joined
May 23, 2000
Messages
30
I have a tab control on my form. I have attached code to my "filetype" field which opens up the respective tab based on the "filetype". This works fine for data entry, but when I use the form for inquiry (based on a keyword in another field) and it returns multiple records, the appropriate tab based on the first record (using the Form_OnOpen properties)is fine, but as I move from record to record it does not change the tab control dependent on the "filetype". I do have the On_Change property set for the "filetype", so I thought that it would adjust as I move through the records, but not.

Should I be putting this code on a different property ?
Any help is appreciated. Thanks.
 
Works like a charm - thank you ! Don't know what I'd do without the quick and accurate responses from this forum !
 

Users who are viewing this thread

Back
Top Bottom