[Openroad-users] Tabpages

Bodo Bergmann Bodo.Bergmann at ingres.com
Tue Oct 23 23:10:15 EST 2007


Hi Frank,
 
as your TabPage is mapped to a userclass object anyway,
why don't you just validate the according attribute values of this
object 
(or the objects, if each tabpage is mapped to a different userclass
object) ?
 
Bodo.
 
Bodo Bergmann
Senior Software Engineer
OpenROAD Worldwide Development
Ingres Corp.
 

________________________________

From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of FRANK
BARRATT
Sent: Tuesday, October 23, 2007 2:19 PM
To: openroad-users at peerlessit.com
Subject: [Openroad-users] Tabpages


Hi, 
 
I am dynamically creating tab pages on a tabfolder using this
 
FIELD(my_tab).AddTabPage(subform = FIELD(mysub),tabtext = 'Page ' +
varchar(FIELD(my_tab).tabpagearray.lastrow + 1),pagenum =
FIELD(mytab).tabpagearray.lastrow + 1);
 
mysub is a hidden subform based on a userclass containing lots of fields
and is the same for each tabpage.
 
At the moment i get the current field values for validation by the 
 
curtab = FIELD(my_tab).CurTabPage method.
 
I then loop through the curtab.childfields to get my field values.
 
My question is there an easier way of accessing the field values from my
dynamic tabs without looping through the childfields array as this is
getting a bit messy.
 
Thanks in advance.
 
Frank.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20071023/25701421/attachment.html 


More information about the Openroad-users mailing list