Skip to main content

AcuSql SQLERRMC returns "Invalid descriptor index"

  • May 31, 2021
  • 2 replies
  • 0 views

When i have a discrepancy between my data base definition and my field definition i get an "Invalid descriptor index" error message in SQLERRMC.
Is there anyway of identifying which field that pertains to?

Thanks for any help

2 replies

When i have a discrepancy between my data base definition and my field definition i get an "Invalid descriptor index" error message in SQLERRMC.
Is there anyway of identifying which field that pertains to?

Thanks for any help

Sadly, no. I have hit this problem often in my development of Acu4GL, and the best I can figure out to do is to do a binary search on the fields until I find the offending field. The ODBC API just doesn't provide the information.


  • June 2, 2021

Sadly, no. I have hit this problem often in my development of Acu4GL, and the best I can figure out to do is to do a binary search on the fields until I find the offending field. The ODBC API just doesn't provide the information.

Ok. Thanks for your response