Kamis, 14 Juli 2011

Re: [MS_AccessPros] Wrong number of arguments - "Woe is me"

 

Hi Robin,

missing a bracket (or have an extra one since PartnerFirstName does not have spaces or special characters):
Nz([PartnerFirstName)="" --> Nz([PartnerFirstName])=""

comma in wrong place, delimit & with space
""[PartnerFirstName]&" "&[PartnerSurname],
-->
"", [PartnerFirstName] & " " & [PartnerSurname]

and you have an extra parentheses on the end...

Warm Regards,
Crystal

*
(: have an awesome day :)
*

--- On Thu, 7/14/11, Robin Chapple wrote:

>
> After considerable help from this list I have been making
> reports.
>
> Now I have a problem. Access tells me I have the wrong
> number of arguments.
>
> =[NameFull] & " " & IIf(Nz([PartnerFirstName)="","
>
> "[PartnerFirstName]&" "&[PartnerSurname],))
>
> What have I missed?
>
> Many thanks,
>
> Robin Chapple
>
>
>

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar