Thanks Alan. I think I'm starting to understand that I'm trying to edit the properties of the Export method which is called when the user clicks the export button on the XFRX previewer.
The doc's mention a method called "Export" with one parameter called "toXFF" as the handler for the XFF file being previewed. That seems to be where you could modify the defaults for the file's location and file name, but I'm not seeing how to do that? Jim James E Harvey Corresponding Officer/M.I.S. Hanover Shoe Farms, Inc. www.hanoverpa.com office: 717-637-8931 cell: 717-887-2565 fax: 717-637-6766 -----Original Message----- From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf Of Alan Bain Sent: Thursday, September 08, 2011 9:05 PM To: profox@leafe.com Subject: Re: XFRX default "output" file name James, Creating the pdf was tricky for me. Here is my code. Hope it helps..... loObj = XFRX("XFRX#LISTENER") rptname = Alltrim(Str(dispatch.callnumber))+'_call' tmpdir = 'c:\dispatch' lcreportname = 'c:\dispatch\rpts\sht_am_L' lnRetVal = loObj.SetParams(Alltrim(rptname),tmpdir,.T.,,,,"PDF") oapp.exlog('~GET~ lnRetVal from create loObj of xfrx' + Str(lnRetVal)) If lnRetVal = 0 loObj.setPasswords("ow",Alltrim(Defa.agencyph)) loObj.setPermissions(.T., .F., .F., .F.) *do we want to include the radio log? If printtlog Select dispatch Report Form &lcreportname For Recno() = thisrecord Object loObj Nopageeject Select runlog Report Form c:\dispatch\RPTS\runlog.FRX Object loObj Else Select dispatch Report Form &lcreportname For Recno() = thisrecord Object loObj Endif loObj.finalize() lsendgood = .T. else *something went wrong here, notify user Endif oapp.exlog('~GET~ created pdf file ') Thanks, Alan Bain On Thu, Sep 8, 2011 at 2:50 PM, James E Harvey <jhar...@hanoverpa.com> wrote: [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/06d601cc6ee8$9ebbd640$dc3382c0$@hanoverpa.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.