Skip to content

SQLExec and/or AERROR Problem #33

Open

Description

@PaulTarver

I'm trying to issue a SQLEXEC() to send a SQL command to create a table via an ODBC connection. The table is created and I see no errors from the database tool, but SQLEXEC() returns a -1 which indicates an error has taken place. If I get a -1 returned, then I issue the AERROR() command to capture error details in an array. However, when I try to display the error message in the array, I'm getting an invalid subscript reference and while the array was created, I can't see any of the elements so I can't confirm whether the array is actually populated. I combined these two issues, because perhaps the -1 returned by SQLEXEC() is not really an error and therefore AERROR() doesn't actually contain any error messages so the array isn't populated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions