marieannie
Programmer
Hi, I'm using Advantage as database in delphi 5.0
I have an Index in which the keys are 2 fields of one table. When using this index, I try to use the instruction Findkey and doesn't find the register. (And I give the correct info) ~ I found that the problem is, for example, that one of the fields are declared as Character of 20, but the info only use 10 characters, the other characters are empty and the findkey doesn't work. (I made a test filling all the posible characters and the findkey instruction worked). I don't know how if there is a way to fix this problem. The one that I'm want to try is to fill the empty characters with a space. I try to use PADL to do this but Delphi shows this error [Error] cfacycod.pas(8550): Undeclared identifier: 'PADL'
I'm not sure if using PADL is the better way to fix this.
Any other suggestions?
Hopefully someone understand what I'm trying to say.... Sorry about my english....
Thanks for your help
I have an Index in which the keys are 2 fields of one table. When using this index, I try to use the instruction Findkey and doesn't find the register. (And I give the correct info) ~ I found that the problem is, for example, that one of the fields are declared as Character of 20, but the info only use 10 characters, the other characters are empty and the findkey doesn't work. (I made a test filling all the posible characters and the findkey instruction worked). I don't know how if there is a way to fix this problem. The one that I'm want to try is to fill the empty characters with a space. I try to use PADL to do this but Delphi shows this error [Error] cfacycod.pas(8550): Undeclared identifier: 'PADL'
I'm not sure if using PADL is the better way to fix this.
Any other suggestions?
Hopefully someone understand what I'm trying to say.... Sorry about my english....
Thanks for your help