[Openroad-users] Tabpages

FRANK BARRATT f.barratt at btinternet.com
Tue Oct 23 22:19:22 EST 2007


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/4a47e7fd/attachment.html 


More information about the Openroad-users mailing list