Subject | Erro Field Not Found in FieldByName After udpate 4.9 to 5.7 |
---|---|
Author | Sergio De melo |
Post date | 2015-08-10T12:38:54Z |
Good morning,
I'm preparing a 2010 Delphi migration to Delphi XE8. Now I use Delphi 2010 with IBO 4.9.9. I am testing my Delphi XE8 with Eval Version ibo5.7.5_2275_Eval, but I have a big problem, when a use a alias in a field when I execute the command FieldByName an error occurs field not found. Example, select name_fun as “name” from mytable, if a use iboQuery.FieldByName(‘NAME’).AsString Field not found error, but if a use iboQuery.FieldByName(‘“NAME”’ ).AsString it works.
Sorry, my mistakes in English.