TabCtl problem

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
 
R

Rob Oldfield

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.
 
J

JPP

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.
 
R

Rob Oldfield

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?
 

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