Topic: Don't close form after clicking Save button.
Hello,
How do I stop a form from closing after I click the 'Save' button?
Eddie
My Visual Database → General → Don't close form after clicking Save button.
Hello,
How do I stop a form from closing after I click the 'Save' button?
Eddie
Hello heribertom6466
You don't want a form be closed after clicking OK button ?
Have you unchecked this instruction : Close the current form after saving ?
It stands at the bottom of dialog window Action for the button.
The effect inverse Is obtained by checking it
JB
Hello JB,
I made a database with just one centralized form.
Meaning this is my main form. Every time I click on the "Save" button the Main form closes.
I have to go to my icon on my desktop and launch the database all over again.
I would like to keep my main form up and running till I close it.
Thank you,
Eddie
Hello hibertom6466
Strange that uncheked box does'nt work.
In the other hand, you could try this :
With button Save, you can use event OnClick, something like :
MyForm_Button13_OnClick (Sender: string);
begin
MyMainform.Show; // MyMainForm being the form you want always use
end;
This is called pass from behind.
JB
JB,
I noticed you mentioned, "Strange that unchecked box doesn't work."
If you mentioned this then, I knew I was missing something.
Sure enough... I did not uncheck the box.
Thanks JB I got it to work.
Eddie
Hello hieribertom6466
Please look at picture in attachment
Action SAVE RECORD
JB
My Visual Database → General → Don't close form after clicking Save button.
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi