Windows XP VBA Transform-IIF statement help

Joined
Mar 15, 2006
Messages
1
Reaction score
0
Hi,


I am trying to get the empty values using Iff statement with Transform statement in VBA. But I can't. Here is my code.

TRANSFORM Sum(qryuserskillsfull.blnLineEndorsed) AS SumOfblnLineEndorsed
SELECT qryuserskillsfull.strFirstName, qryuserskillsfull.strLastName, qryuserskillsfull.strSPNumber
FROM qryuserskillsfull
WHERE (((qryuserskillsfull.blnLineEndorsed) In (NULL,'0','-1')))
GROUP BY qryuserskillsfull.strFirstName, qryuserskillsfull.strLastName, qryuserskillsfull.strSPNumber
PIVOT IIf([blnLineEndorsed]='0',"SA",(IIf([blnlineEndorsed] = ' ',"nu","LE"))) In ("SA","LE","nu");

I cant retrieve the null/blank/empty values. Can anyone help me in this.
 
Post this in the news groups, you have a much better change of getting a reply of a seasoned pro ;).
 
Back
Top