Close Data Viewer after .pff run

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
Yass
Posts: 103
Joined: November 11th, 2017, 1:26 am

Close Data Viewer after .pff run

Post by Yass »

I am using execpff(filename(my_pff), wait) to download multiple files but i need to manually close the data viewer after each download.
I want to close the data viewer after each download.. how do i close it?

Thanks
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Close Data Viewer after .pff run

Post by aaronw »

Instead of executing each PFF my suggestion would be to write some logic. Add this to a batch application and execute the single PFF. It will silently synchronize each dictionary.
PROC DOWNLOAD_DATA_FF

if syncconnect(CSWeb, serverURL) then

     syncdata
(GET, LISTING_DICT);
     
syncdata(GET, STAFF_DICT);

     
syncdisconnect();

endif;
Post Reply