Auto sum field.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi. In a form I've got a text control, and it's dta source is a field on a
table. Everything is working fine.

What I want was to change that field to a excel field. What I mean is,
sometimes I only need to insert a single number, but sometimes I've got to
sum two numbers and then I insert the total in that field. Is it possible to
insert (+350+150) and the fields automatically sum and insert the total, so
it only appears (500).

I'll try to resume, instaed to insert the total of 500 can I insert 350+150
and appears 500?

Marco
 
No you can't. Although Access tables look like Excel spreadsheets, they are
very different animals.

However, you can create a popup box that will allow a user to type in an
expression (300+500) and it will evaluate the expression and put the answer
in the text box.

On my website (www.rogersaccesslibrary.com), is a small Access database
sample called "ExpressionEvaluation.mdb" which illustrates how to do this.

--
--Roger Carlson
MS Access MVP
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L
 
You're the man. Thanks.
Appreciatted

Marco



Roger Carlson said:
No you can't. Although Access tables look like Excel spreadsheets, they are
very different animals.

However, you can create a popup box that will allow a user to type in an
expression (300+500) and it will evaluate the expression and put the answer
in the text box.

On my website (www.rogersaccesslibrary.com), is a small Access database
sample called "ExpressionEvaluation.mdb" which illustrates how to do this.

--
--Roger Carlson
MS Access MVP
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L
 

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

Similar Threads

access compare values and select higher of two 1
Sum 1
incorrect sum from query 2
Subtotals in a Pivot Table 1
SUBREPORTS' TOTALS' ERRORS 3
help me please 5
please help me 3
Sum of field 1

Back
Top