Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to assign the value generated from the below load statement in to a variable name as Rec, pls provide me the script to be written for acheiving these task
LOAD MAX(RECORD_NO) from TEST.QVD
Thanks,
Arun
Hello Arun,
Rename first the field so you can use it later
I'm using the followingLOAD MAX(RECORD_NO) AS MAX_RECORD from TEXT.QVD
Peek() or even LookUp() will do as well.LET vMaxRecordNo = FieldValue('MAX_RECORD', 1);
Regards.
Hi Arun,
here you are
DATA:
Load
Max(Reord_No) as MaxRecordNo
From Test.qvd (qvd);
Let vRec = Peek('MaxRecordNo', 0, 'DATA');
Good luck!
Rainer