Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Adding Reloadtime() to identify last data load

I'm using the following script in a text object in my QVD generator to see when the QVDs were last reloaded.

'QVD last reloaded on : '& relodtime()

1. Is this the good practice?

2. Are there any cons in using this approach?

3. What is the best practice to quickly identify when the QVDs were last reloaded.

Thanks for the time and effort.

2 Replies
satishkurra
Specialist II
Specialist II

Hi

Yes it is a better approach/practice to do this as it gives developer an insight of data load.

Approach 1:

This is straight forward.

In Load script, at the end define this variable let vLastLoad = now();

Now get a text object and it will display the reload time

Approach 2:

You can use the attached script, In first line define the path of your QVD File and once reload is successful, define the required fields and can schedule this in QMC after your data load is complete and QVD file is created.

Thanks

Satish

satishkurra
Specialist II
Specialist II

Sorry. Attaching the script now...