#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2012
    Posts
    28
    Rep Power
    0

    Find out Modified Dataset


    I'm working in an application which is using around 1186 datasets [TDataSet].
    One of those dataset has been modified while i just open and close a form, i got the conformation message as

    'Do you want to save changes '.

    I found out that dataset too. But i could not find the modification which has been taken place in that particular dataset.

    Event handlers assigned for that particular dataset:
    AfterScroll
    BeforeOopen
    OnNewRecord


    I set trace on all the event handlers,But no use

    Note: I just open and close the form, i got the message


    Thanks in advance...
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2008
    Posts
    350
    Rep Power
    7
    for debugging purposes, take the query or table component that the dataset is connected to and set it to readonly. If and when an attempt to modify a row is made, you should get an error, if there's no error, and you still get the message, then your application has probably been coded to simply ask for confirmation regardless of any real changes.

    Hope this helps.

IMN logo majestic logo threadwatch logo seochat tools logo