Create an expression in a text box.

P

p-rat

I have a text box on my form. I want to create an expression for a
line item total (unit price * quantity * surcharge). I don't see the
row source in the properties for a text box. How can I do this?
 
D

Dirk Goldgar

p-rat said:
I have a text box on my form. I want to create an expression for a
line item total (unit price * quantity * surcharge). I don't see the
row source in the properties for a text box. How can I do this?


It's the ControlSource (or Control Source) property that you want, on the
Data tab of the text box's property sheet. For example you could set that
property to:

=[unit price] * [quantity] * [surcharge]
 
J

Jeanette Cunningham

Use the control source of an unbound textbox like this:
=unit price * quantity * surcharge


Jeanette Cunningham
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top