Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Delphi > Strange databas...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1108 of 1133
Post > Topic >>

Strange database exeption debug message

by Lars-Erik Østerud <.@[EMAIL PROTECTED] > Mar 5, 2007 at 05:36 PM

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
 




 2 Posts in Topic:
Strange database exeption debug message
Lars-Erik Østerud <.@[  2007-03-05 17:36:46 
Re: Strange database exeption debug message
Lars-Erik Østerud <.@[  2007-03-05 18:18:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:41:31 CDT 2008.