I have to create Parameter with (Firstname%Lastname),Do I have create two parameters First name and Last name? but I need to put % between First and last Name?
Can you explain the rationale for this? Is the % supposed to act as a wildcard in case there is a middle initial? Where are you creating this parameter--in a command or in the Crystal GUI?
If you want the user to enter both first and last name at the parameter prompt {?FullName} (which you are creating inside the command on the right), then you could set up a where clause like this:
where "table"."firstname"||' '||"table"."lastname" = '{?FullName}'
This would assume that the user was prompted to enter the first name plus one space plus the last name.
When i enter full name(first and last name) and run the report ,I do not get any record? Please help.
also I create formula
{People.Fstn}+""+{People.Lstn} (@Fullname)
then in selection expert
{@Fullname}={?Fullname}
I didn't see your post that you were creating the parameter in the main report--if you are using a command, you really should be creating the parameter and referencing it within the command--otherwise the selection occurs locally.
How will people enter the name at the prompt? I'm guessing it will be like this:
Hi,
Place your parameter in the Report header but do not use them in your record selection formula - return some records with the First and Last name fields and your {@Fullname} formula and compare them to the parameter values displayed - you may see why they do not match up.
To Paraphrase:"The Help you get is proportional to the Help you give.."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.