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 » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

making an equation in access



 
 
Thread Tools Display Modes
  #1  
Old November 17th, 2009, 06:27 AM posted to microsoft.public.access.queries
Dani.
external usenet poster
 
Posts: 1
Default making an equation in access

Hi, I would like to create a field that works out a formula based on other
fields. i.e field z=field4, when field 1field 2 - field 3 etc. Yes, it may
be a silly question but I am only new to this....Thanks, Dani.
  #2  
Old November 17th, 2009, 01:32 PM posted to microsoft.public.access.queries
Dale Fye
external usenet poster
 
Posts: 2,651
Default making an equation in access

Dani,

recommend against creating a "field" in a table and storing this value. One
of the generally accepted rules of relational database development is not to
store a "computed" (any value that is based on the value of other fields in
your database) value in the table. It is a waste of database space, and will
eventually result in bad data (when someone manually changes a value, but
forgets about the computed field).

It is better to use a query to create this computed value, and return that
value whenever it is needed. If you would lay out the logic for us, I'm sure
someone will be happy to help you write an IIF( ) statement or a function
that will return the appropriate value.

----
HTH
Dale



"Dani." wrote:

Hi, I would like to create a field that works out a formula based on other
fields. i.e field z=field4, when field 1field 2 - field 3 etc. Yes, it may
be a silly question but I am only new to this....Thanks, Dani.

  #3  
Old November 18th, 2009, 08:28 PM posted to microsoft.public.access.queries
fathi hassan
external usenet poster
 
Posts: 1
Default making an equation in access


--
fatsultan


"Dani." wrote:

Hi, I would like to create a field that works out a formula based on other
fields. i.e field z=field4, when field 1field 2 - field 3 etc. Yes, it may
be a silly question but I am only new to this....Thanks, Dani.

 




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 01:04 AM.


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