Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2020
    Posts
    1

    Access system error

    Hi,
    I inherited the Access system several years ago and all of a sudden I get a error when importing text files, the message is this: An error occurred while processing the command. Here is the code below:

    Code:
    Public Function ReturnSystemError(enumErrorCaller As SystemError) As String
        Select Case enumErrorCaller
            Case 1:
                ReturnSystemError = "An error occured while processing the command."
            Case 2:
                ReturnSystemError = "An error occured while processing the command." & _
                    vbNewLine & "System{" & Err.Description & "}"
            Case 3:
                ReturnSystemError = "You must specify a valid name to print this report."
            Case Else:
                ReturnSystemError = "An error occured while processing the command."
        End Select
    End Function
    I see that is is throwing a system error but I have no idea where to go to check the error, the logs in computer manager so no errors at all. Does anyone have any ideas? Thanks

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2016
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725
    Is this a standalone application on your desktop? If so, you could post a copy in zip format.
    You could put a breakpoint on the Case Else line and then choose Debug when the error message is displayed.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Change Text of System Error Message
    By PSSMargaret in forum Programming
    Replies: 15
    Last Post: 11-17-2019, 07:28 AM
  2. Replies: 3
    Last Post: 09-30-2019, 07:04 AM
  3. Getting error System resource exceeded
    By princydisney in forum Access
    Replies: 1
    Last Post: 08-22-2017, 04:55 PM
  4. Replies: 3
    Last Post: 05-09-2013, 09:17 AM
  5. Replies: 1
    Last Post: 12-02-2010, 03:04 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums