Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
engr_farhanqadr
Creator
Creator

How to check whether data is fetched or not..

Hi Folks,

Can any one guide me how can I create a qvw file which shows that others qvws runs are executed successfully and whether data is fetched correctly or not.?

Thanks,

Farhan

5 Replies
swuehl
MVP
MVP

How would you determine that data is fetched correctly or not? I mean, if there is no script error?

Do you have any test on data volumen etc. in mind?

To track the completed reloads, I remember an application by Rob Wunderlich some time ago, that checked the reload timestamps of the QVWs (scanning the files in the application folder). Just can't find his app right now, but the idea sounds quite straight forward.

engr_farhanqadr
Creator
Creator
Author

Lets take an eg if I am generating qvd and its having the size as previous then there is no data fetch even if the script is run correctly.

manojkulkarni
Partner - Specialist II
Partner - Specialist II

Let vOldCount= QvdNoOfRecords('OldData\Sample.qvd');
Let vNewCount= QvdNoOfRecords('NewData\Sample.qvd');


if( vOldCount =vNewCount) then

'No Update'

Else

'Updated'

End if;

mohammadkhatimi
Partner - Specialist
Partner - Specialist

Hie..

LOAD

'Tablename' as QvdName,

QvdCreateTime('$(Path)Tablename.QVD') as QvdTime

AutoGenerate 1;

Hope this will helps u..!!

Regards,

Mohammad

manojkulkarni
Partner - Specialist II
Partner - Specialist II

Get Meta data info of any QVD


Set QvdFileName = 'Sample.qvd';

LET vFileSize = FileSize(QvdFileName);

LET vQvdCreateTime = QvdCreateTime(QvdFileName);

LET vQvdNoOfRecords = QvdNoOfRecords(QvdFileName);

LET vQvdNoOfFields = QvdNoOfFields(QvdFileName);