Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need an if condition for $(Include=\\....\...\configfiles.txt)
For example. .. If the .qvw file path contains 'C:\Orginal' then $(Include=\\....\...\configfiles.txt) else $(Include=\\....\...\newconfigfiles.txt)
Maybe like
IF DocumentPath() LIKE 'C:\Original*' THEN
TRACE Include1;
$(Include=\\....\...\configfiles.txt);
ELSE
TRACE Include2;
$(Include=\\....\...\newconfigfiles.txt);
ENDIF
Maybe like
IF DocumentPath() LIKE 'C:\Original*' THEN
TRACE Include1;
$(Include=\\....\...\configfiles.txt);
ELSE
TRACE Include2;
$(Include=\\....\...\newconfigfiles.txt);
ENDIF
Or this?
SET vPath = 'C:\Original';
IF If(SubStringCount(DocumentPath(),'$(vPath)'),'C:\Original') = WildMatch($(vPath),'$(vPath)') THEN
$(Include=\\....\...\configfiles.txt);
ELSE
$(Include=\\....\...\newconfigfiles.txt);
ENDIF