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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Two totals on different tab pages but same tab control

Status
Not open for further replies.

Katana2003

Programmer
Jun 25, 2003
23
0
0
GB
I want to put the sum of two totals on different tab pages in the same tab control. How can I do so?

Thanks


 
you have to (as far as i know) recreate the control for every tab you want it to appear on, even if it has the same properties and is tied to the same data.
 
I am not quite sure of what you are saying please could some one expand.

 
you can put you totals textbox on one tab, navigate to another in design view, and put a secont totals textbox there, just the same as you would put any control on a tab other than the first.
 
Resolved

This is the way i came up with.

Private Sub Re_Calc_Click()

Forms!quote_header!Quote_Product!txt_Total_Price = _
Forms!quote_header!Purchesed_Items.Form!txt_Total_markup + _
Forms!quote_header!Labour.Form!txt_Labour_total

Forms!quote_header!Quote_Product!txt_Unit_Price = _
Forms!quote_header!Quote_Product!txt_Total_Price / _
Forms!quote_header!Quote_Product!txt_Quantity

End Sub

This works fine.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top