Topic: Error Message with Counter

Hello to All !

When I use Counter Component, I get this error (see file joined)
So I've looked PhoneBook exemple to see how using it
Ofcourse, I've initialized its value from beginning at 0 (zero)
In a script behind a button, I've repeated this value.
No matter, allways this !!?@@@}} .... error

No need to declare a var.
It seems that transtypage INT to String does not go right
Am I wrong ?

Thanks for your help

Jean B.

Post's attachments

Attachment icon ErrorMessage.jpg 75.25 kb, 317 downloads since 2014-08-06 

Re: Error Message with Counter

Hello,


Please fix this line

ShowMessage ('My  table has ' + IntToStr(Grille.EditCounter1.Text) + ' records');

to

ShowMessage ('My  table has ' + Grille.EditCounter1.Text + ' records');
Dmitry.