I have Intermittent problems where "Not in edit mode" error raised, how do I know which component caused the error? note: I'm using TIBDataSet (IBX version 7.08, delphi 7), your suggestion will be highly appreciated. Thanks.

Comments

  1. Hi buddy, debug your program in the IDE, it'll stop at the line where the error caused. At runtime you can catch the stacktrace using madExcept or JCL Debug (free).

    ReplyDelete
  2. Hi Edwin, first of all thanks for your replied. I can't produce the error in my computer hence not able to debug in the IDE. I will try JclDebug.

    ReplyDelete
  3. I don't think your problem is connected to a component.  It is more an issue of when you post a record and what happens afterward.  If you have a master detail form, often times it has to do with posting the master record and the detail record is not in edit mode.

    ReplyDelete

Post a Comment