Luke Stamm
6/18/2002 9:51:00 PM
I'm accessing a Paradox 7 database through Odbc.Net. All
my Delete, and Select commands are functioning properly.
However, after inserting records and calling
Odbc.DataAdapter.Update an Odbc.OdbcException is thrown
containing the following message:
Message: [Microsoft][ODBC Paradox Driver]Invalid string or
buffer length
Native: 84
Source: odbcjt32.dll
SQL: HY090
I suspect the error might be in my INSERT statement or
perhaps DbNull values are getting passed to the driver
improperly? The general form of my INSERT statement is as
follows:
INSERT INTO Table1 ([Value One], [VALUE TWO],
[value3], ...) VALUES (?, ?, ?,...)
The table contains 28 fields, all of which I are in the
INSERT statement. Some may contain DbNull values though.
Is there any way to get the value of the CommandText after
the parameters have been set in place? Is there a problem
with my select statement? Has anyone experienced a problem
similar to this? Any feed back would be appreciated.
Thanks in advance.
Luke Stamm
Wholesale Information Network, Inc.
luke@win-world.com