M
Mark Lam
Hello,
I have a form (cmDeptList) that contains a list of entries from a database,
and a separate form I use to add entries to the database. The separate form
is launched when the user clicks a button as follows:
Dim fAddDept as New cmDeptEdit(True)
fAddDept.MdiParent = Me.MdiParent
fAddDept.Activate()
fAddDept.Show()
So far so good. However, once the user has successfully added the entry and
closes fAddDept, I want to run the Sub that updates the list on cmDeptList
so that the new entry is shown. I *think* have I have to pass a reference
to cmDeptList to fAddDept to do this, but I'm not sure how to go about doing
that. Any ideas?
Thanks!
Mark
I have a form (cmDeptList) that contains a list of entries from a database,
and a separate form I use to add entries to the database. The separate form
is launched when the user clicks a button as follows:
Dim fAddDept as New cmDeptEdit(True)
fAddDept.MdiParent = Me.MdiParent
fAddDept.Activate()
fAddDept.Show()
So far so good. However, once the user has successfully added the entry and
closes fAddDept, I want to run the Sub that updates the list on cmDeptList
so that the new entry is shown. I *think* have I have to pass a reference
to cmDeptList to fAddDept to do this, but I'm not sure how to go about doing
that. Any ideas?
Thanks!
Mark