Since the query runs ok in sql manager, it must be in the oher code not in the select statement. Could it be the EXEC ADO on the "Get Cursor" statement that you are using where you are using EXEC SQL everywhere else? Or should you be using the "Fetch Cursor" statement rather than the "Get Cursor"?
↧