Hi Dave How. (No I'm not an American Indian)/grin
Hi Mike Done that Added a line as the first line in the class Wait Window "Opening DBC" NoWait If I set a breakpoint at DoDefault() in my calling form step just hops over otherwise if I set a breakpoint in my class it steps into the class. Cheers Peter Dave Crozier said on 03 August 2009 13:46 Peter, When I have had this happen it is that the source code for the base class isn't available due to caching or another reason i.e datestamp on the compiled code is later than on the source code. Try manually compiling it. Dave Crozier Mike Babcock said on 03 August 2009 13:01 You're absolutely sure? Have you put wait windows in the code to be 100% sure? -----Original Message----- On Behalf Of Peter Hart Sent: 03 August 2009 07:45 Subject: RE: Problem with base form Hi All I seem to have a problem with my application which may or may not be a bug. It is to do with Inheritance. I have a base form with code in its load event which opens my table location table and logs the employee to what time and date they accessed what form. Do OpenDatabase && Open DBC and the DB_Loc'n.dbf (Location Table) Do LogForm With pnEmployeeNo && Public variable which holds Employee Logged on First line in the Load of each created form is DoDefault() The problem is that in design mode only when I test a form it hops over the DoDefault() without running the inherited code. If I set a breakpoint in my base form then the debugger opens at that point and from then on the parent form runs correctly. Anyone else seen this problem. I get round by manually resuming after the breakpoint but it is annoying. Cheers Peter Peter Hart Computers _______________________________________________ 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/a57fa4cf19531343a2ee11b57db8e3af04c...@server.peterhartcomputers.local ** 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.

