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.
 
Joined
Feb 16, 2006
Messages
88
Reaction score
0
Post this in the news groups, you have a much better change of getting a reply of a seasoned pro ;).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top