Jump to content

Recommended Posts

Posted

Hello,

when I try a record insert, using  uniDBLookupComboBox on a integer field, 

I get always the error

"Could not convert variant of type (unicodeString) into type (Boolean)"

If in place i use a simple DbEdit no exception raises.

 

No exceptions also when I use the uniDBLookupComboBox to Update a record

where the field has already a value.

It happens with or without setting a Default value for the underlying DB field.

 

In my application I have other uniDBLookupComboBox on some forms, but

realized this problem only when I started to use it for record Insert.

 

Any idea ?

Posted

I leaved default values except of course for

Datasource, Datafield

and Listsource, Listfield and keyfield.

 

Lookup KeyField is an integer (Firebird), as the receiving Datafield.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...