Inside the OnButton1 event handler, insert the following code: Using the class wizard, insert an event handler, for example, OnButton1, to handle pressing of the Button1. Reading columns out of sequence. Compile and run the application in debug mode. Consider a table which has 5 columns: I tried to list my SQL statement to:
|Date Added:||21 September 2011|
|File Size:||34.89 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Invalid Descriptor Index calling SQLGetData
Join Date Mar Posts 7. There are various ways in which this scenario can manifest: Try to place your text and image columns at the end of select list. Thanks for the code update.
I have my reasons to state so. Using the class wizard, insert an event handler, for example, OnButton1, to handle pressing of the Button1. Developing Multithreaded Applications Slow Chat: The time now is If you need to solve it, you need to know which one of the orbc conditions is true in your code, and rectify accordingly.
Inside the OnButton1 event handler, decriptor the following code: Results 1 to 3 of 3. Invalid Descriptor Index State: The simple resolution is to either fix sl query to return the needed column, or fix your code to not read the absent column.
This really fixed it for us, thought to share it with you guys. This way you get the full stacktrace and you can learn about the line number where this problem occurred. You can find the line number in the 1st line of the stacktrace.
This compensation may impact how and where products unvalid on this site including, for example, the order in which they appear. Place your varchar max and or varbinary max fields at the end of your select Query.
Order in the table definition doesn’t matter. To start viewing messages, select the forum that you want to visit from the selection below.
Hink 1 8 Tepken Vannkorn 96 3 3 7. That’s the way some drivers have been written; you cannot skip any columns when reading the resulting result set, as the drivers are actually reading a stream and converting objects in the stream to objects of the JDBC types.
‘Invalid Descriptor Index