Page 1 of 2
Open -> Add record -> Save and Close -> Add to Lookup
Posted: Mon Jan 08, 2018 7:41 pm
by tovidiu
I have a lookup field with which I open a form in a new window and add a new entry.
How can i save the edit form, close the popup window and add automatically to the lookup field?
Thanks
Ovidiu
Re: Open -> Add record -> Save and Close -> Add to Lookup
Posted: Mon Jan 08, 2018 8:05 pm
by admin
tovidiu,
It's on the list of things to do.
Steven
Re: Open -> Add record -> Save and Close -> Add to Lookup
Posted: Sun Jan 14, 2018 6:52 pm
by admin
tovidiu,
This feature is now in the latest commit in Github.
Steven
Re: Open -> Add record -> Save and Close -> Add to Lookup
Posted: Mon Jan 15, 2018 6:37 pm
by tovidiu
Great, Thanks!
Re: Open -> Add record -> Save and Close -> Add to Lookup
Posted: Mon Jan 15, 2018 6:54 pm
by admin
.
Re: Open -> Add record -> Save and Close -> Add to Lookup
Posted: Mon Jun 06, 2022 11:23 am
by selector
Can I ask the opposite question? How to make the popup form not close after adding a new element.
As an example, in places of poor Internet reception, it is best to put the checkboxes next to the list and select all the elements from the table at once. But the ability to add new records should remain.
Re: Open -> Add record -> Save and Close -> Add to Lookup
Posted: Thu Jun 09, 2022 6:23 am
by kev1n
Good question, I've asked Steven.
Re: Open -> Add record -> Save and Close -> Add to Lookup
Posted: Thu Jun 09, 2022 3:35 pm
by steven
Hi selector,
The easiest way to add a number of records at a time to a table is through a BrowesEdit Form before you ask a Lookup to Choose just one record.
You could do this by adding a Button that goes to that BrowesEdit, placing it near the Lookup, and making its title something like
Add Multiple Records For this Lookup.
Steven
Re: Open -> Add record -> Save and Close -> Add to Lookup
Posted: Thu Jun 09, 2022 4:40 pm
by kev1n
If this empty function is added in Setup -> Header, the popup will no longer close.
Code: Select all
function nuAddedByLookup(){
// do nothing - don't close the popup
}
Re: Open -> Add record -> Save and Close -> Add to Lookup
Posted: Thu Jun 09, 2022 5:06 pm
by selector
kev1n wrote: ↑Thu Jun 09, 2022 4:40 pm
If this empty function is added in Setup -> Header, the popup will no longer close.
Code: Select all
function nuAddedByLookup(){
// do nothing - don't close the popup
}
Thank you