Help: Asciioutput with Row Number
Posted: Wed Jul 28, 2010 9:10 am
Hi all,
I need to export a file from a cube so that another system can import the data. That system requires each row in the export file to have a unique record ID. Hence, I'm planning to concatenate the file serial number with a running number for each row to make up the Record ID.
FileSerialNo = '100';
So if the file contains 5 rows of records, Record ID for 1st row will be '1001' and for 5th and last row will be '1005'.
I don't think While loop will work in the Metadata script since each row is inserted after each pass through Metadata. How then do I create a running number?
Many thanks in advance!
I need to export a file from a cube so that another system can import the data. That system requires each row in the export file to have a unique record ID. Hence, I'm planning to concatenate the file serial number with a running number for each row to make up the Record ID.
FileSerialNo = '100';
So if the file contains 5 rows of records, Record ID for 1st row will be '1001' and for 5th and last row will be '1005'.
I don't think While loop will work in the Metadata script since each row is inserted after each pass through Metadata. How then do I create a running number?
Many thanks in advance!