2
I am migrating an application from Firebird to Postgresql, I was able to connect the Postgresql database with the help of Devart tool, but now whenever I try to make some access in the application there is error of format variable, follows an example of error:
I looked in my Postgresql database and this variable format option FMTBcdField
nor is available, if you have any idea of changing what you can do.
I was able to find out where the CODE field should be determined to be Fmtbcdfield:
But when having Delete Fields to add the new ones already in the correct formats as it was suggested, the following error occurs:
For what reasons this may be occurring, I have already taken the test to put the *.dll cited in the exe folder and also in the System32 folder, but the error persists, there is another possible test?
I tried to add a Sqlconnection together so I could change Clientdataset, but when I delete Fields and add new Fields when I save the changes the following error message appears:
But I can’t find this link so I can edit the Fields
My friend, just as I commented there in my reply, the Sqlconnection Error is because this missing set the Connection Component in this property, which component is using for Dataset?
– Junior Moreira
I edited the question to show that there is a link to my connection, but I can’t find this link to try to adjust the variable
– R.Santos
So my dear, the solution I presented solves your problem, the one you are quoting in the last picture has nothing to do with the question, This new error is already related to another
unit
of your project! There he sayso DataModulo CadEmpresa citado no DataModulo Database não esta adicionado ao projeto! Deseja remover a referencia?
Just this, add dmCadEmpresa to the project that should stop the new error!– Junior Moreira
@Júniormoreira Sorry to bother you so much, but as I said I’m new to Delphi and to help this project is not mine, you could give me a help on how to add dmCadEmpresa to the project, because I thought it was already added
– R.Santos
Shift-F11, search for Unit and open...
– Junior Moreira
@I did what you asked and the following error appeared when I was adding the new Fields in some Clientdataset
Acess violation at address 00A55EED in module 'designide70.bpl'. Read of adress 0000001C.
What would be the reason for the mistake you could tell me– R.Santos
Let’s go continue this discussion in chat.
– R.Santos