I have a form that contains a listbox. The listbox has a list of all of the invoices associated with a job. When I click on an invoice, the invoice information appears in textboxes in the bottom half of the screen.
The user can select an invoice and then click on an "Edit" button that will open up another window and allow the user to change values for that particular invoice. Once he/she is finished, the "Save Changes" button is clicked and the secondary form closes.
I want to be able to refresh the textboxes on the main form, but I can't figure out how to accomplish this. On similar form, I have it set up so that when the user clicks "Save Changes," it runs the code Forms!frmTesetReports.txtTemp.SetFocus The GotFocus() procedure for that control runs code that refreshes the textboxes. I'm not sure why this doesn't work on the invoice form. Any ideas on how this could work better? Thanks!
The user can select an invoice and then click on an "Edit" button that will open up another window and allow the user to change values for that particular invoice. Once he/she is finished, the "Save Changes" button is clicked and the secondary form closes.
I want to be able to refresh the textboxes on the main form, but I can't figure out how to accomplish this. On similar form, I have it set up so that when the user clicks "Save Changes," it runs the code Forms!frmTesetReports.txtTemp.SetFocus The GotFocus() procedure for that control runs code that refreshes the textboxes. I'm not sure why this doesn't work on the invoice form. Any ideas on how this could work better? Thanks!