TabCtl problem

  • Thread starter Thread starter JPP
  • Start date Start date
J

JPP

I have a main form with a combo where a student's name is selected.

The subform contains a navigation button that moves thru the student's
records that are selected.

On the same subform are 4 pages on the Tabcrl - one for each school quarter.

Whenever one clicks to the last record or the first record (either by
next/back or by first/last) the tab moves automatically to the first page in
the tab. If there are only two records, this becomes a problems in that it
may not be noticed immediately.\

Any ideas on how to set the tab page to remained fix to the tab selected why
pressing the navigation buttons?

Thanks in advance

Joe
 
I think it would need to be something like storing a global variable in the
change event of the tab control (to record what the 'current' tab is) and
then use the current event to switch to the tab control to the value stored.
 
Any idea as to why this behavior occurs?




Rob Oldfield said:
I think it would need to be something like storing a global variable in the
change event of the tab control (to record what the 'current' tab is) and
then use the current event to switch to the tab control to the value
stored.
 
Nope. If you could just confirm your setup and I'll have a play with it
here. The table that is the basis of the subform contains student records
for a number of years, with fields that can be categorised as to which
quarter they are in. I have that right?
 
Back
Top