varient Null Value check

Dear all,

I have a Variable of type Varient.I want to check if its empty or not. System allowed me to initialsie it with Empty String .But when i gave a checking like the below its showing error:

fileVarient:=’ ’ ;

if fileVarient<>’’ then

message(fileVarient);

How to do this?

Please help

Thanks & Regards

Rose.

Rose,

You haven’t written what exact error message (and where) you got… But

Check if you have 2 single quotes (correct) or ONE double qoute (causes syntax error) in line quoted above.