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
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
63,261
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
63,261
Office Version
  1. 365
Platform
  1. Windows
Post back if you need any further assistance or clarification.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,628
Messages
5,832,762
Members
430,165
Latest member
Idjaz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top