If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Data calculation?
Does anyone knows how to do data calculation in 'Access' " Forms." I want to
create 3 fields of data entries where the user input a numeric value in each field and using the 4th fields for the calculation of the 3 data entriess. My question is, how can I link the 3 fields of data together so that the 4th field will output the right calculation? Please Help! Thanks a bun..... |
#2
|
|||
|
|||
Your "fourth field" would be an unbound text field. In it's Control Source
enter the formula you want. = [SomeFieldName1] + [SomeFieldName2] + [SomeFieldName3] Rick B "luke" wrote in message ... Does anyone knows how to do data calculation in 'Access' " Forms." I want to create 3 fields of data entries where the user input a numeric value in each field and using the 4th fields for the calculation of the 3 data entriess. My question is, how can I link the 3 fields of data together so that the 4th field will output the right calculation? Please Help! Thanks a bun..... |
#3
|
|||
|
|||
Good morning
In the Control Source of the Text Box in which to wish to assign the value, simply place the following formula: =NZ(txtBox1,0) + NZ(txtBox2,0) + NZ(txtBox3,0) Hope this helps Maurice St-Cyr |
#4
|
|||
|
|||
Thank a lot Guys
It works by the way what is NZ mean after txbox1,0 "StCyrM" wrote: Good morning In the Control Source of the Text Box in which to wish to assign the value, simply place the following formula: =NZ(txtBox1,0) + NZ(txtBox2,0) + NZ(txtBox3,0) Hope this helps Maurice St-Cyr |
#5
|
|||
|
|||
That tells access that if the value in one of your fields is nul, to replace
it with 0. Without that code, you might have received error messages stating that you had an invalid use of nul. I'm glad Maurice suggested that; it is the right way to do it. Rick B "Locke" wrote in message ... Thank a lot Guys It works by the way what is NZ mean after txbox1,0 "StCyrM" wrote: Good morning In the Control Source of the Text Box in which to wish to assign the value, simply place the following formula: =NZ(txtBox1,0) + NZ(txtBox2,0) + NZ(txtBox3,0) Hope this helps Maurice St-Cyr |
#6
|
|||
|
|||
Hi
The NZ function returns 0 when the evaluation is null. You can lookup the NZ function in Help. Best Regards Maurice St-Cyr Micro Systems Consultants, Inc. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using Queried Data alongside Manually entered data | gwrose | General Discussion | 1 | July 23rd, 2004 04:45 AM |
Crosstab query in report | Vincent DeLuca | Setting Up & Running Reports | 19 | July 13th, 2004 04:02 AM |
Problems with converting data held in an Excel spreadsheet to Word | mark Gray | Mailmerge | 6 | July 8th, 2004 10:54 AM |
Having both the date and total of series data displayed underthe data | Jon Peltier | Charts and Charting | 0 | April 14th, 2004 08:39 PM |
How to graph adjacent data in column? | bmacwilliams | Charts and Charting | 1 | December 17th, 2003 12:39 AM |