I dont know why i can't attach files, but here's what's going on:
i've got litteraly this writte on the script:
procedure Form1_Button1_OnClick (Sender: string; var Cancel: boolean);
begin
if (Form1.Edit1.Text = '') then
begin
Cancel := True;
ShowMessage('Your message here.');
end;
end;
begin
end.
The form name is exacly named: Form1
The text box is named Edit1
and the button that saves the form into the table that i named "testes" is named... Button1
I Run the script, it doesn't show any errors, i press button1 without inserting anything on text box, it just saves an empty name.
can't make this thing work... maybe it's a bug?