So i am trying to link to a local file, have that part working with the complete path supplied in the command but link is the same for every row of data. Accessing link works via right click and save as.
Here is the command that works
[code]
select 'dbr.url', 'file://server/path/Data/Book6.xlsx','[http]';
[code]
Various errors when trying to put variables from the result set into the mydbr command.
Here are three failed attempts
1) does concat but does not expand variables
select 'dbr.url', concat('file://server/path/Data/', 'TimecardFilename'),'[TimeCard]';
concats as
"file://server/path/Data/timecardfilename"
2) this wont save the report procedure
[timecardfilename]
3) Full path including schema and table. This gives error "Unknown table 'test.time1' in field list" at report run
test.time1.TimecardFilename
There is another location I would like to use variables from the result set in the mydbr code.