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
Close Data Viewer after .pff run
Re: Close Data Viewer after .pff run
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;
if syncconnect(CSWeb, serverURL) then
syncdata(GET, LISTING_DICT);
syncdata(GET, STAFF_DICT);
syncdisconnect();
endif;