BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

could not convert variant of type null into type string

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (InterBase Express)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Feb 01, 2007 5:42 pm    Post subject: could not convert variant of type null into type string Reply with quote



The error message "could not convert variant of type null into type
string" appears on a number of
forums and newsgroups. Usually it relates to ADO connections to
databases, usually using TTable type components, and usually the error
only appears at design time.

I have an application that is generating this exception. It generates
it in a production environment, which I have as yet been unable to
duplicate. The application is using Interbase Express components,
which I believe (rightly or wrongly) don't use ADO. My application has
no TTable or similar components whatsoever, only TIBQuery, and
TIBDatasets.

The user feedback tells me that user A adds a record to dataset 1,
then user B selects a menu option to update a list box from dataset 1,
when user B attempts to add a record to a different recordset (dataset
2) he receives the above error message. No data from dataset 1 is used
when creating the record in dataset 2. Once user B restarts his
application the error is not seen again (so no problems with the
actual data).

As yet I have been unable to replicate this in a test environment.
Rather fuzzy I know, but does anybody have any ideas about what is
happening.

Any help will be gratefully received. I'm totally at a loss to explain
it!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (InterBase Express) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.