Tony
7/22/2002 8:45:00 PM
It doesn't appear to be a database problem, but a GUI problem instead since
the exception is from System.Drawing.dll.
Tony
"Paul Jefferies" <paul.jefferies@adastra.co.uk> wrote in message
news:1930c01c2319a$407e9f80$36ef2ecf@tkmsftngxa12...
> My application uses an OdbcDataAdapter to access Faircom c-
> tree db files. I succesfully carry out simple selects,
> inserts, deletes and updates using OdbcDataAdapter
> (SQLText, Connection) then fill a Dataset. But when I have
> finished the updates and then open a new dialog form (i.e.
> new myForm()) an Exception is thrown (ArithmeticException
> in System.Drawing.dll).
>
> I created an Access Db with the same data and structure
> and it all ran with no exceptions. All the code was the
> same, I just changed the DSN.
>
> I also ran the same sequences of SQL statements in MS
> Query with no errors being returned.
>
> Anyone else out there using c-tree with .NET, or any ideas.
> Will it be a problem with ODBC.Net and Faircom ODBC driver
> compatabilty?
>
> Thanks
>
> Paul
> Adastra Software Ltd