Topic: Found a bug.
Here's how to replicate the bug:
Save button only works once.
You create a save button that doesn't close the form
You edit the memo
you save it
it saves
you change something
you save it
it doesn't save to mysql
My Visual Database → General → Found a bug.
Here's how to replicate the bug:
Save button only works once.
You create a save button that doesn't close the form
You edit the memo
you save it
it saves
you change something
you save it
it doesn't save to mysql
When the button don't close form, second click on button save record as new.
to prevent this behavior, use this script:
procedure Form1_buttonSave_OnClick (Sender: string; Action: string);
begin
Form1.buttonSave.dbDontResetID := True;
end;
ahhh, thanks!!!
My Visual Database → General → Found a bug.
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi