PDA

View Full Version : How to put formula in unboound text box in detail section of VB data report


irfan512
Jan 14, 2008, 02:57 AM
I have two bounded and one unbound text boxes in vb data report, how can I put formula in detail section of vb data report like

unbound text box = bounded textbox1 + bounded textbox2

regards,

Irfan Zaidi

yuffie
Jan 18, 2008, 08:59 AM
I have answered this question in the private message.. but well..

U can create a formula, let's call it sum1.

Using the formula editor, write the field bounded by textbox 1 and textbox 2

Example if textbox1 is price1 in tableA and textbox2 is price2 in tableB, type:

{tableA.price1} + {tableB.price2}

And click save and close

Then drag the formula sum1 into the detail section of your report :)