Seth Galitzer
sgsax at ksu.edu
Thu Apr 3 10:13:33 CST 2003
Julie, A tab control has a Pages collection. Each tab is a Page in that collection. So to reference a textbox on the first tab you need something like this: strText = Me!tabMyTabControl.Pages(0).txtMyText Note: I'm spewing this off the cuff and may not be entirely accurate. I don't remember if the Pages collection uses a 0- or 1-based index, and you may need to reference the Page's Controls collection to get to the textbox. Good luck! Seth On Thu, 2003-04-03 at 09:55, Julie Reardon-Taylor wrote: > > Hi, > > I'm trying to reference the contents of a textbox on the first tab of a tab > control on a form. Can't seem to get the syntax right. Can someone help me? > > > Julie Reardon-Taylor > PRO-SOFT OF NY, INC. > www.pro-soft.net > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University