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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Expression in Table



 
 
Thread Tools Display Modes
  #1  
Old August 14th, 2006, 07:53 PM posted to microsoft.public.access.forms
Emile
external usenet poster
 
Posts: 7
Default Expression in Table

I am designing a table with the following fields: Units, Price and Worth.

Worth = Units*Price

When stting up the table can Worth have a Default Value of =Units*Price?

Tried that and I am getting an error message.

Do I have to create a query and do the calculation there.?

Thanks in advance for your help.




  #2  
Old August 14th, 2006, 08:17 PM posted to microsoft.public.access.forms
freakazeud
external usenet poster
 
Posts: 67
Default Expression in Table

Hi,
yes...as a general rule you do NOT want to store calculated values in
tables. Instead they can be calculated at runtime as needed in queries or on
forms/reports.
HTH
Good luck
--
Oli-S
Admin Specialist & Computer Science Major @ UMD - Go Terps -
http://www.oli-s.de


"Emile" wrote:

I am designing a table with the following fields: Units, Price and Worth.

Worth = Units*Price

When stting up the table can Worth have a Default Value of =Units*Price?

Tried that and I am getting an error message.

Do I have to create a query and do the calculation there.?

Thanks in advance for your help.





 




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


All times are GMT +1. The time now is 03:45 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.