Page 1 of 1

type mismatch for field "customer" , Expecting: FMTBcdfield actual: integer

Posted: Fri 07 Nov 2014 19:53
by evandroks
I had an application working fine in Delphi 2007

Then I reinstalled Delphi 2007
and installed dbexpress trial for Interbase & Firebird

A lot of forms are working,
but in some I have problems:

type mismatch for field "customer" , Expecting: FMTBcdfield actual: integer

How to fix this ?

Re: type mismatch for field "customer" , Expecting: FMTBcdfield actual: integer

Posted: Mon 10 Nov 2014 09:21
by ViktorV
Such error may occur when the scale and precision fields in the database don't correspond to the persistent field's type in the DataSet. Please, try to recreate persistent fields at design-time in Fields Editor in the DataSet. You can find more details in the Data Type Mapping article in Readme.html at: %DBXInterBase%\Readme.html where %DBXInterBase% is the path to the installed dbExpress driver for InterBase and Firebird.

Re: type mismatch for field "customer" , Expecting: FMTBcdfield actual: integer

Posted: Mon 10 Nov 2014 12:31
by evandroks
Thank you

Re: type mismatch for field "customer" , Expecting: FMTBcdfield actual: integer

Posted: Mon 10 Nov 2014 12:58
by ViktorV
Feel free to contact us if you have any further questions.