Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
surajap123
Creator II
Creator II

variable returning error instead of null

!Hi Experts,

I have a variable that stores the working directory path. when I put the variable in a text object, I get the

Error: Garbage after expression "\Files"

The variable is created in UI and below are its details-

Variable--> vQVDPath

value-->     \Files\

The data is properly fetched in the load script.

load..

from $(vQVDPath)\test.qvd

Thanks

3 Replies
MK_QSL
MVP
MVP

load..

from $(vQVDPath)test.qvd

maximiliano_vel
Partner - Creator III
Partner - Creator III

Try

Variable--> vQVDPath

value-->    '\Files\'

Gysbert_Wassenaar

SET vQVDPath = '.\Files\';      // relative path .\

// SET vQVDPath = '\\Files\'     UNC path to a share named Files

LOAD * FROM '$(vQVDPath)'test.qvd;


talk is cheap, supply exceeds demand