Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syntax Error

Status
Not open for further replies.

FlaglerMuseum

Technical User
Sep 18, 2007
1
US
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"],"")
 
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 - "It's not about having enough time; we have the rest of our lives. It's about priorities.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top