Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Syntax Error

Syntax Error

Syntax Error

I keep getting a Syntax Error in my form, below is the formula I am using and I have been over it a hundred times and I cannot see what I am doing wrong.  I also used the formula on another form and it works just fine but it is a different table.  I have re-built the table because I'm told that it's probably the table but I still have a problem.  Are their restrictions on the length of calculated fields?  Any ideas as to what I could be doing wrong?

[:WORK:Current Membership Files\Database\Main Member Database.Title]+" "+[:WORK:Current Membership Files\Database\Main Member Database.First Name]+" "+Iif([:WORK:Current Membership Files\Database\Main Member Database.Middle Name]<>"",[:WORK:Current Membership Files\Database\Main Member Database.Middle Name],"")+" "+[:WORK:Current Membership Files\Database\Main Member Database.Last Name]+[:WORK:Current Membership Files\Database\Main Member Database."Jr. Sr. Etc"]+" "+Iif([:WORK:Current Membership Files\Database\Main Member Database.Partner Letter]="&",[:WORK:Current Membership Files\Database\Main Member Database.Partner Letter]+" "+[:WORK:Current Membership Files\Database\Main Member Database.Partner First Name]+" "+Iif([:WORK:Current Membership Files\Database\Main Member Database.Partner Middle Name]<>"",[:WORK:Current Membership Files\Database\Main Member Database.Partner Middle Name],"")+" "+[:WORK:Current Membership Files\Database\Main Member Database.Partner Last Name]+[:WORK:Current Membership Files\Database\Main Member Database."Partner Jr. Sr. Etc"],"")

RE: Syntax Error

Try shortening the path to the files and see what happens.

Easiest would probably be to create an alias to 90% of that path length.

Tony McGuire
Stop Rob Bennett - http://www.notrob.info
"It's not about having enough time; we have the rest of our lives.  It's about priorities."

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close