steve_hall
12 years agoContributor
DB Table Project Variables - change source in code
Hi All,
I have a Project Variable of type "DB Table". Actually, I have 2 of them!
Iteratively processing the first, produces a return value which is a file path - and I need to use this file path as the source for my 2nd Project Variable.
I've tried all sorts along the lines of
Project.Variables.ObjDefFile = ObjDataPath;
But everything I've tried results in a JScript error and the script terminating.
Incidentally, "ObjDataPath" is a path to a CSV file... I could probably arrange for this to be xls / xlsx, but if we could work with a CSV as a DB Table (or similar), that'd be good!
Any suggestions?
Thanks!
I have a Project Variable of type "DB Table". Actually, I have 2 of them!
Iteratively processing the first, produces a return value which is a file path - and I need to use this file path as the source for my 2nd Project Variable.
I've tried all sorts along the lines of
Project.Variables.ObjDefFile = ObjDataPath;
But everything I've tried results in a JScript error and the script terminating.
Incidentally, "ObjDataPath" is a path to a CSV file... I could probably arrange for this to be xls / xlsx, but if we could work with a CSV as a DB Table (or similar), that'd be good!
Any suggestions?
Thanks!