Formatting Zip Code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Folks,

I am using this expression (that one of you helped me with a while back).

CorrectZip: IIf([Zip] Like "#####-",Left([Zip],Len([Zip])-1),IIf([Zip] Like
"#########",Format([Zip],"@@@@@-@@@@"),[Zip]))

All of a sudden (and not in the old databases I am using this in) I am
getting the following message:

Undefined function 'Left' in expression

Thanks for your help.
 
You probably have a Missing reference. Open the Code window (Ctrl + G).
Select Tools > References. If any are marked as Missing, remove the
checkmark, close the window, reopen the window and recheck the reference. It
should reset the link to the library.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top