Page 1 of 1

[Solved] Question about linked forms

Posted: Sat May 20, 2017 4:47 am
by IHaveNoName
I have a simple database with two main forms: One is for customers at our business, and the other is for invidual jobs. They're linked, since each customer can have many jobs, and the Jobs Form has a dropdown menu where I can choose the customer name. That part works fine, but I have a question. If I fill out a customer form, I have to close the form before that customer's name appears on the dropdown menu in the Jobs form. Is that how it's supposed to work? I mean, I've tried saving after making a new record, clicking New Record, and simply skipping to the next one, but it only works if I actually close it.

Re: Question about linked forms

Posted: Sat May 20, 2017 9:26 am
by charlie.it
Ciao, did you try with a button with the property Action set to Refresh form ?

Re: Question about linked forms

Posted: Sat May 20, 2017 10:50 am
by Villeroy
The navigation toolbar has 2 refresh buttons. One for the whole form and another for the currently focussed list box or combo box.

Re: Question about linked forms

Posted: Sat May 20, 2017 8:25 pm
by UnklDonald418
If I fill out a customer form, I have to close the form before that customer's name appears on the dropdown menu in the Jobs form. Is that how it's supposed to work?
If the Job Info form is already open when you add a new entry in your Customer Info table, the Job Info form is not aware of the changes to the Customer Info table. As Villeroy pointed out the Refresh Control button on the Navigation toolbar tells the form to reload the data from the Customer Info table.

Re: Question about linked forms

Posted: Sat May 20, 2017 8:40 pm
by UnklDonald418
I forgot to mention that the Refresh Control button will only work if the list box control has the focus.

Re: Question about linked forms

Posted: Sun May 21, 2017 3:23 am
by IHaveNoName
Aha! I got it now. Thanks a bunch - I just hope I can remember to do that when I'm working on it. :P

Re: [Solved] Question about linked forms

Posted: Sun May 21, 2017 6:00 pm
by UnklDonald418
I just hope I can remember to do that when I'm working on it.
You can easily add a Label control to your form that would contain a reminder.

Re: [Solved] Question about linked forms

Posted: Mon May 22, 2017 3:48 am
by robleyd
Or the low tech approach - a post-it note on the monitor :D