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

#Name? error in Formula



 
 
Thread Tools Display Modes
  #1  
Old May 31st, 2010, 09:34 PM posted to microsoft.public.access
forest8
external usenet poster
 
Posts: 196
Default #Name? error in Formula

Hi there

As I mentioned in the subject line, I am currently getting a @Name? error in
a formula.

The formula I have is

=DateDiff("yyyy",[DateofBirth],Date())-IIf(Format(Date(),"mmdd")Format([DateofBirth],"mmdd"),0,1)

I noticed that the field should be [Date of Birth] but when I try to edit
the formula, the formula change does not stick.

How do I get the formula to stick?

Thank you for your help in advance.

  #2  
Old June 4th, 2010, 06:14 AM posted to microsoft.public.access
John W. Vinson
external usenet poster
 
Posts: 18,261
Default #Name? error in Formula

On Thu, 3 Jun 2010 20:49:02 -0700, forest8
wrote:

Hi

The Name Autocorrect Options have Track Name Autocorrect Info and Peform
name AutoCorrect are checked (i.e. on).


That's probably the problem!

It's buggy. Tom called it "Name Autocorrupt" - and that's unfortunately an apt
nickname. It can remember old deleted names and they can come back like
zombies.

Try turning Track Name Autocorrect *off*; compact and repair the database; and
rename/doublecheck the names of the controls.
--

John W. Vinson [MVP]
 




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:40 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.