1
I have a form 'frmPerfis' that when opening it executes the routine 'Rotinarefresh' (to update data from a listview) that is inside the 'Form_load'. Inside this form has the form 'frmPerfisAlter' and when I call it and save the changes in the record it saves the information and then does the following (closes the current form and goes to the 'frmPerfis':
... Unload Me frmPerfis.Show ...
When opening 'frmPerfis' I understand that the 'Form_load' routine (the 'Rotinarefresh') should be executed so that the listview comes with the updated data. But this does not occur. How can I make it work?
I used after Unload Me the code: ... Call frmPerfis.Rotinarefresh ... I put 'Rotinarefresh' as public and called it another form.
– Milton Silva