Results 1 to 2 of 2

Thread: Run-time error

  1. #1

    Thread Starter
    Addicted Member Rohan_Powle's Avatar
    Join Date
    Mar 2000
    Location
    Mumbai,maharashtra.India
    Posts
    173

    Post

    Hello Friends
    While Saving record I am getting a error --- the description is --- The action is canceled because of an associated object.... Pls send me ur suggetion....

  2. #2
    Addicted Member pardede's Avatar
    Join Date
    Jan 2000
    Posts
    232

    Post

    The "Action cancelled by an associated object" error is mostly caused by other actions done by your code which either updates or cancelupdates your current record (sometimes without you being aware of it because you think you haven't done any saving or cancelling). Moving to another record is one example of such 'implicite' update action, so if you try to save it later it says well its already done...

    So what I suggest you to do is look carefully at your code and try to look for this kind of situation. If you still have trouble then it might help to post (parts of) your code which you think might be the problem.

    By the way, do you use DBgrid?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width