1

(187 replies, posted in General)

The error window doesn't popup anymore, but still the code isn't working. Here's how it looks like:

procedure entry_OkButton_OnAfterClick (Sender: string);
begin
  entry.enAut.Clear;
  entry.enTit.Clear;
  entry.typeR.dbItemID := -1;
end;

begin

end.

It correctly saves the record, but doesn't clear the fields nor close the window (since I told it not to close it).

2

(187 replies, posted in General)

Uh yeah, that could work too I suppose. But I tried to put that code into the script window (while replacing the names of course) and now it says " 'BEGIN' expected" when I try to run the database, and it doesn't clear nothing at all in the window. What did go wrong?

(Please move the discussion in a new thread if you like)

3

(187 replies, posted in General)

I think it would be nice if you added an option to make it just clean the form instead of closing it while saving a new record. In this way you don't have to reopen the form window each time if you want to add a new record (very useful if you're adding a ton of records in one time).