Sometimes when I run a query for creating a recordset and iterate through the records I receive this error:
[DataDirect][ODBC Progress OpenEdge Wire Protocol driver]Error in row.
The problem is caused by the fact that one or more fields in the record holds more data than the display format for that field allows. For example field description is of string type and its display format is 60 characters. But in fact the field holds 80 characters. When this is the case I receive this error when the loop iterates to that particular record. I'm making a small executable in VB6 with On Error Resume Next
When the error is raised for the error in row the next time I try to move to the next record VIsual Basic crashes. Is there some way to prevent this error from happening (just read the 80 characters without error)? In this particular case I don't even know which field holds to much data.
[DataDirect][ODBC Progress OpenEdge Wire Protocol driver]Error in row.
The problem is caused by the fact that one or more fields in the record holds more data than the display format for that field allows. For example field description is of string type and its display format is 60 characters. But in fact the field holds 80 characters. When this is the case I receive this error when the loop iterates to that particular record. I'm making a small executable in VB6 with On Error Resume Next
When the error is raised for the error in row the next time I try to move to the next record VIsual Basic crashes. Is there some way to prevent this error from happening (just read the 80 characters without error)? In this particular case I don't even know which field holds to much data.