Hi Paul, I haven't ever played around with customizing the report builder so I can't really critique it. But I will say 'thanks for sharing your efforts" and I'll print this out and add to my pile of "good to know" facts.
Cathy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Newton Sent: Tuesday, July 29, 2008 8:07 PM To: [email protected] Subject: Re: Open report for editing with a specific report object selected Hi Cathy I spent three and a half hours on this but found a solution. Any comments/suggestions/criticisms welcome ... Open ReportBuilder.PJX and make the following changes: Add a record to frxbuilder.dbf with the following field values rec_type "F" hndl_class "ReportOpen" hndl_lib "frxHandlers.PRG" notes "Report Open event" eventtype 7 objtype 0 objcode 0 debug .f. native .t. fltr_ordr "4" Modify frxHandlers.PRG by appending the following at the end of the file: DEFINE CLASS ReportOpen AS Custom allowToContinue = .T. PROCEDURE Execute( oEvent ) IF oEvent.EventType = 7 GO 16 IN FRX && modify to suit your needs !! Replace CurPos WITH .T. IN FRX oEvent.SetHandledByBuilder(.T.) oEvent.SetReloadChanges(.T.) ENDIF ENDPROC ENDDEFINE Recompile as an APP Cathy Pountney wrote: > Off hand, I'm not aware of any way to do this. In VFP 9, however, the report > designer can be modified and tweaked so I suppose it's possible .. but I > have no idea how to go about it. I can tell you that if you preview a report > in the designer .. and an error pops up .. it returns to the report designer > with that object's property dialog displayed. If you dig through the report > designer code included in the xsource.zip file .. I suppose you could find > the error handler and see how they do it. > > Cathy > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Paul Newton > Sent: Tuesday, July 29, 2008 9:14 AM > To: profox > Subject: Open report for editing with a specific report object selected > > Hi > > The subject should be self-explanatory - does anybody know if this is > possible ? I was toying with EditSource but it does not seem possible ... > > Thanks > > Paul Newton > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] 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/[EMAIL PROTECTED] ** 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.

