|
I know there are other ways, probably easier ones, of
doing this but I started to try and resolve the question and now it's bugging
me:
I have a form with 3 tables spread across 7 Tab Control
Pages.
The first Tab Page contains a summary of the data on the
other 6 pages and is all variables.
I have four Enhanced Speed Buttons outside the Tab
Control intended to activate moving to First, Previous, Next & Last
rows as appropriate.
Using the Pre-Defined EEPs for those actions works just
fine for each table - but I want them to work only on the driving
table.
I concocted EEPs as follows (each adjusted for the
required movement):
PROPERTY ID_TabControl ACTIVEPAGEINDEX 0
PROPERTY ID_CursorHoldField SET_FOCUS 'TRUE' PROPERTY TABLE Discs 'FIRST' RETURN
but the CursorHoldField is a variable field rather than
a column which doesn't seem to set the active table as the driving table so I
don't get the movement I want.
I can set the EEP to go to a Tab Page that has a column
from the driving table, then do the move and then go to the first page - but it
looks klunky (unless page 4 is already visible):
PROPERTY ID_TabControl ACTIVEPAGEINDEX 3
PROPERTY ID_CursorHoldField SET_FOCUS 'TRUE' PROPERTY TABLE Discs 'FIRST' PROPERTY ID_TabControl ACTIVEPAGEINDEX
0
RETURN I could put a column on the first page but there must be a slick way to use an ESB to select the driving table,
do the row movement and display the first tab page. Any offers?
Thanks in advance,
Regards,
Alastair. ----------------------------------
A D B Burr, St. Albans, UK. ---------------------------------- [EMAIL PROTECTED] ---------------------------------- |
