Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everybody
i'm facing a strange issue or misunderstanding
When I
LOAD * FROM [$(PathQVD)\$(FileNameQVD).qvd] (qvd);
everyting's OK
BUT When i'm doing
LET v =filename([$(PathQVD)\$(FileNameQVD).qvd]);
my variable v is NULL
Any idea ?
Thnak you
Chris
Ok so maybe remove the filename part
so just say
LET v = '$(PathQVD)\$(FilenameQVD)';
Thank you Massimo
but i don't want only check qvd files.
the pb i don't understand is why LOAD works with my variable '$(PathQVD)\$(FilenameQVD) and WHY
LET v= '$(PathQVD)\$(FilenameQVD) returns null
Chris
No because path and file are correct
doesn't mean a file exists
Chris
OK
i found why
FileName is the problem. Returns always NULL
FielSize returns a value if file exists and null if doesn't
Thnak you everybody for your help
Chris