Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

SQL Query on ODBC Driver returns strange error...


This topic is 7767 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I am receiving the error message "S1000: [FileMaker][ODBC FileMaker Pro driver]An attempt to fetch forward has failed for table: PRODUCTS" when executing a SQL Query on my VB application (I am using the ODBC Driver packaged with FMPro 6):)

strSQL = "SELECT DISTINCT * FROM Products WHERE ProductType <> 'Mati

Posted

How large are the contents of the fields returned in response to this query? Perhaps there is a limit to the size of data that can be returned by the driver. The fact that this only happens for some records suggests that there is something in the data of those records that may cause the problem.

Does the problem still happen if you specify some of the fields instead of saying "select * from ..."?

  • Newbies
Posted

I tried restricting my query to one field that is 6 characters long but the problem still happen. I also checked the content of that field in FileMaker to make sure that the content of the field is alright and everything seem ok. I am beginning to think that the ODBC drive is the problem...

This topic is 7767 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.