Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Placing data into a multipage setting on a multipage?

Status
Not open for further replies.

tudor30

Technical User
Jan 7, 2004
49
US
VB Forms: Do I have to code differently to place data on a Multipage (from toolbox) set on the second tab of another multipage?

I am using the VB Form Control Toolbox. I have placed a multipage on the form with five tabs. On the first tab I placed a multipage with six tabs.
On the second tab I placed a multipage with four tabs.

Where I need HELP:
I can not load data to the multipage that sets on the second tab of the first multipage.

The code used is:
'Placing data for Cost Update of Supply Management
SMCostTargetBox.Value = c.Offest(0, 47).Value
SMCostActualBox.Value = c.Offset(0, 48).Value
SMCostDifference.Value = c.Offset(0, 49).Value
SMToolingTargetBox.Value = c.Offset(0, 50).Value
SMToolingActualBox.Value = c.Offset(0, 51).Value
SMToolingDifference.Value = c.Offset(0, 52).Value

If c.Offset(0, 53).Value = "Yes" Then 'Service part Yes
YesOptionButtonAFEBudget.Value = True
ElseIf c.Offset(0, 53).Value = "No" Then 'Service Part No
NoOptionButtonAFEBudget.Value = True
Else 'No Entry for Service Part
YesOptionButtonAFEBudget.Value = False
NoOptionButtonAFEBudget.Value = False

End If

SMFactoryResponsibleforToolingBox.Value = c.Offest(0, 54).Value
SMEstimateorQuoteBox.Value = c.Offset(0, 55).Value
SMJune2003CostNet.Value = c.Offset(0, 56).Value
SMSept2003CostNet.Value = c.Offset(0, 57).Value
SMDec2003CostNet.Value = c.Offset(0, 58).Value
SMMar2004CostNetBox.Value = c.Offset(0, 59).Value

Am I trying to do something that can't be done?
Do I need to identify the location of the multipage...
UserForm1.Tab 2 of MultiPage1.MultiPage3 ????


Any suggestions are appreciated,
John
 
What are the objects you are placing the data into? What version are you using? I have no problem placing data into textboxes, labels etc on any tab on any multipage - even a multipage on a tab of a multipage. So I am not sure what the problem is.

When you state you are placing data on to a multipage, what do you mean exactly? A multipage is a object that does not really do anything except hold other objects. Are you placing the data in a textbox? Could there be a format issue?



Gerry
Painting/Sculpture site:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top