Close Data Viewer after .pff run

Discussions about CSEntry
Post Reply
Yass
Posts: 87
Joined: November 11th, 2017, 1:26 am

Close Data Viewer after .pff run

Post by Yass » June 16th, 2021, 12:45 pm

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: 458
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Close Data Viewer after .pff run

Post by aaronw » June 16th, 2021, 6:46 pm

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