• Error log on closing database

    • This topic has 3 replies, 3 voices, and was last updated 24 years ago.
    Author
    Topic
    #355843

    Error log on closing the Access database

    I have a rather comlicated MS Access database in which on opening the main form 8 other forms are also opened, since I am using a code basxed on the
    If IsOpen(strDocName) = True Then
    Event.
    The problem is that I cannot close the database.I receive the following error:
    ==============================
    MSACCESS has generated errors and will be closed by Windows.You will need t0
    Restart the program.
    ==============================
    An error log fas been created.
    I have tried to close all the form with a code, but without success.Even the simple clsoe action from the toolbar gives this error.On the other hand,if these forms are not opened, I can close the database easily.Therefore the problem lies in the opened forms.But I do need to open these forms.
    Is there any way to obviate this problem and close the database.If I could do this my problems will be solved.
    I will be extremely grateful to any advice or solution

    Viewing 1 reply thread
    Author
    Replies
    • #525653

      Post the code and let’s have a look.

      • #525670

        tgahnk you for the reply.I am afraid i shoudlk,s end the whole database,however i coukd zip it and it will niot be greater than 700KB. If you woukd agree to have a look pleae let me knwo w your email address.
        Once again thank you very much
        Best regards

    • #525714

      This thread really belongs in the Access forum rather in VB/VBA.

    Viewing 1 reply thread
    Reply To: Error log on closing database

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: