Can I have a field that contains a formula?

simsy

Board Regular
Joined
Oct 8, 2002
Messages
241
Hi folks...

Im kind of new to Access... I'm OK with Excel, and could just about get by with Ability database, but I can't see how to do this in Access...

The situation is this;

I have an Address Database. One of the fields is "Title". Another is "PostalTitle" I want "PostalTitle" to contain a formula that says, "If the Title is Mrs, Miss or Ms, leave blank, else same as Title".

Now I think I'm OK with the syntax of how to construct the formula, but I can't see how to make a field actually contain a formula.

Am I being stupid, or can it not be done, (easily!)

Thanks in anticipation,
Rregards,

Simsy
 

Some videos you may like

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
55,497
Office Version
  1. 365
Platform
  1. Windows
All calculations (formulas) should be done in queries. Only static field values should be held in the underlying table.

If the calculation can be done from the fields in the underlying table, there is no reason to store the result of the formula in the table. Doing so will eliminate the dynamic nature of that field.
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
55,497
Office Version
  1. 365
Platform
  1. Windows
Post back if you need any further assistance or clarification.
 

Watch MrExcel Video

Forum statistics

Threads
1,119,144
Messages
5,576,322
Members
412,716
Latest member
thviid
Top