Nagasaki Posted December 15, 2006 Share Posted December 15, 2006 Hello, I am trying to modify a label calculation, and it is telling me I am missing the operator. It must be the end of the day (or just cause I am a novice) but I don't see where I am missing one. Here is the calculation: Case(not IsEmpty(Partner Name) ; Partner Name & " " & "and" & " " & First Name & " " & Last Name); IsEmpty ( Last Name ); Company; First Name & " " & Last Name Basically, I am trying to have it search for a partner name; if there is a partner name put in "partner name and First Name Last Name. If there is no Last name, put in the Company; otherwise just do First Name Last Name. TIA Link to comment Share on other sites More sharing options...
Raybaudi Posted December 15, 2006 Share Posted December 15, 2006 Case( not IsEmpty(Partner Name) ; Partner Name & " and " & First Name & " " & Last Name ; First Name & " " & Last Name ) Link to comment Share on other sites More sharing options...
mr_vodka Posted December 15, 2006 Share Posted December 15, 2006 Case ( not IsEmpty(Partner Name); Partner Name & " and " & First Name & " " & Last Name ; IsEmpty ( Last Name ); Company; First Name & " " & Last Name ) In your code, you had the closing ')' in the wrong place Case(not IsEmpty(Partner Name) ; Partner Name & " " & "and" & " " & First Name & " " & Last Name[color:red]); IsEmpty ( Last Name ); Company; First Name & " " & Last Name [color:green]) Link to comment Share on other sites More sharing options...
Raybaudi Posted December 15, 2006 Share Posted December 15, 2006 IsEmpty ( Last Name ); Company; I didn't see that ! Link to comment Share on other sites More sharing options...
Nagasaki Posted December 15, 2006 Author Share Posted December 15, 2006 Thank you very much! It's always the little things, isn't it? Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6130 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now