A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Can I multiply 2 fields?



 
 
Thread Tools Display Modes
  #1  
Old October 21st, 2004, 12:56 PM
Jimmy
external usenet poster
 
Posts: n/a
Default Can I multiply 2 fields?

Hello in a table I have 3 fields. "Price/Unit" "Units" and a field called
"Total". I need "Total" to be =[Price/Unit]*[Units] . So I need to multiply
those fields. Is it possible in the table?
Jimmy


  #2  
Old October 21st, 2004, 01:13 PM
Lynn Trapp
external usenet poster
 
Posts: n/a
Default

Not in your table, but it is easily done in a query. Simply enter your
formula in one of the fields in the query grid.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Jimmy" wrote in message
...
Hello in a table I have 3 fields. "Price/Unit" "Units" and a field called
"Total". I need "Total" to be =[Price/Unit]*[Units] . So I need to

multiply
those fields. Is it possible in the table?
Jimmy




  #3  
Old October 21st, 2004, 01:15 PM
Nikos Yannacopoulos
external usenet poster
 
Posts: n/a
Default

Jimmy,

No, you don't do calculations in a table. More importantly, you don't want
to! You can make the calculation anywhere (query, form, report or whatever)
anytime you need the value, so storing it is redundant.
Just for the record, if you really needed to store it, you would use a
calculated field in an update query.

HTH,
Nikos

"Jimmy" wrote in message
...
Hello in a table I have 3 fields. "Price/Unit" "Units" and a field called
"Total". I need "Total" to be =[Price/Unit]*[Units] . So I need to

multiply
those fields. Is it possible in the table?
Jimmy




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic filling of fields in table two from table one Jim Kelly Database Design 1 September 27th, 2004 10:16 PM
How do I import data to user-defined fields? Bill at Ithaca HS Contacts 2 September 17th, 2004 05:31 PM
Custumized Filter doesn't work in some fields Jaime Domínguez Contacts 1 September 16th, 2004 01:14 AM
Excluding Fields in Reports Fakhruddin Zavery General Discussion 2 September 8th, 2004 07:32 PM
Mail Merge two fields that have multiple lines with new line control code Eric Li Mailmerge 7 May 25th, 2004 06:10 PM


All times are GMT +1. The time now is 04:50 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.