looks like the problem is not a misplaced comman, but an extra double quote
after the Format function's closing parenthesis.
try
=IIf([CharterMember]=-1,"Joined " & [ClubName] & " " &
Format$([DateJoinedThisClub],"d mmm yyyy "),"CharterMember")
hth
> I have failed to get this working:
>
[quoted text clipped - 8 lines]
>
> Robin
Robin Chapple - 16 May 2005 23:54 GMT
Tina,
Thanks. Nikos found the same error for me.
Message to Nikos repeated here:
I have another problem;
The final requirement is to concatenate the "ClubName" and the
"DateJoined" fields and to add the literal 'Charter Member' when the
Yes/No field "CharterMember" is set to Yes.
This is my attempt at the final version:
=IIf([CharterMember]=0,"Joined " & [ClubName] & " " &
Format$([DateJoinedThisClub],"d mmm yyyy "),"Joined " & [ClubName] & "
" & Format$([DateJoinedThisClub],"d mmm yyyy ")CharterMember ")
which is not accepted. The text box reverts to the original code.
Cheers,
Robin
>looks like the problem is not a misplaced comman, but an extra double quote
>after the Format function's closing parenthesis.
[quoted text clipped - 17 lines]
>>
>> Robin
Robin Chapple - 17 May 2005 00:23 GMT
Stop the presses.
I did it myself:
=IIf([CharterMember]=0,"Joined " & [ClubName] & " " &
Format$([DateJoinedThisClub],"d mmm yyyy "),"Joined " & [ClubName] & "
" & Format$([DateJoinedThisClub],"d mmm yyyy ")& " CharterMember ")
Thanks for your help.
Robin
>Tina,
>
[quoted text clipped - 41 lines]
>>>
>>> Robin
tina - 17 May 2005 02:18 GMT
good job! :)
> Stop the presses.
>
[quoted text clipped - 53 lines]
> >>>
> >>> Robin
Robin,
The error is not the comma, it's the quote right before it, which must
be removed. Try this:
=IIf([CharterMember]=-1,"Joined " & [ClubName] & " " &
Format$([DateJoinedThisClub],"d mmm yyyy "), "CharterMember ")
HTH,
Nikos
> I have failed to get this working:
>
[quoted text clipped - 8 lines]
>
> Robin
robinski@melbpc.org.au - 16 May 2005 23:50 GMT
Nikos,
Thanks, that was the problem but it was stage one.
The final requirement is to concatenate the "ClubName" and the
"DateJoined" fields and to add the literal 'Charter Member' when the
Yes/No field "CharterMember" is set to Yes.
This is my attempt at the final version:
=IIf([CharterMember]=0,"Joined " & [ClubName] & " " &
Format$([DateJoinedThisClub],"d mmm yyyy "),"Joined " & [ClubName] & "
" & Format$([DateJoinedThisClub],"d mmm yyyy ")CharterMember ")
which is not accepted. The text box reverts to the original code.
Cheers,
Robin
>Robin,
>
[quoted text clipped - 19 lines]
>>
>> Robin