Using Record Selectors causes Access to crash.

Anonymous
2015-08-29T14:13:06+00:00

Hello,

Please see the form below:

Access crashes when I use the Record Selectors on the left of the flags to Cut or Paste a record and then close the form.

How can I stop this?

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

8 answers

Sort by: Most helpful
  1. Tom van Stiphout 40,086 Reputation points MVP Volunteer Moderator
    2015-08-29T15:20:07+00:00

    What have you tried so far? Is there any VBA code involved?

    I might start with decompiling the application. Search the web for "access decompile".

    0 comments No comments
  2. Anonymous
    2015-08-30T12:47:25+00:00

    Hi Tom,

    Thanks for your prompt reply.

    I'm using Form.RecordSelectors=Yes.  When I Close the form after using Cut or Paste, Access crashes.  The code for the Close button is:

        DoCmd.Close acForm, "frm_Edit_Country", acSaveYes

    Any advice?

    0 comments No comments
  3. Anonymous
    2015-08-30T23:24:19+00:00

    I'm using Form.RecordSelectors=Yes.

    you set this property by VBA instead of in property sheet?

    Is there a subform ?

    Is it possible about other codes compiled mistakes ?

    0 comments No comments
  4. Tom van Stiphout 40,086 Reputation points MVP Volunteer Moderator
    2015-08-30T23:55:45+00:00

    I gave you decompile advice. You did not say if you took that advice.

    0 comments No comments
  5. Anonymous
    2015-08-31T05:07:00+00:00

    Hello peiyezhu ,

    Thanks for your prompt reply.  Yes there is a subform.  I'm using cut/copy/paste in the subform but btn_Close is on the main form.  Please see separate reply here for further details.

    0 comments No comments