When I try to run a small program inside Delphi2005 I get an error
when issuing a "Open" on a "TADOTable". The error does not trigger any
I/O error (I trap those), and I can read and use the table as normal
if I click "Continue" on the exeption error message. Also when run w/o
debug or from Windows direct there is no trace of any errors at all.
The error text is: Project <name>.exe raised exception class
EVariantTypeCastError with message 'Could not convert variant of type
(Null) into type (String)'.
If I try to trace the error occurs long way into the Delpi libraries.
I have checked the types of all my string, and since I can access the
table I guess the connection-string and table-name are like they
should.
Anyone know what could cause this? The program seems to work outside
Delph2005 (from Windows), but I don't like using a program that causes
an exception when debugged inside Delphi :-(
--
Lars-Erik - http://www.osterud.name
- ICQ 7297605