J
jpowell
Hello,
I tried posting this earlier but unfortunately didn't get any help and
still haven't solved this. Hopefully someone can help me! I want to
use a listbox as a variable and I can't figure out how.
I have a form that can potentially get called from many different
forms. For instance the same for frmPhones might be called from
frmOrganizations or from frmIndividuals. After pressing "OK" in
frmPhones I want to requery the listbox from the original form
(frmIndividuals or frmOrganizations). So, from the original form I
would pass in the listbox that will be updated, right?
I tried setting a public property in frmPhones called ListBox as a
ListBox and tried this but it didn't work.
With frmPhones
Set .ListBox = frmIndividuals.lstPhones
(I've tried with and without the set)
End With
What am I missing?!?!? Please help!
-Joshua
I tried posting this earlier but unfortunately didn't get any help and
still haven't solved this. Hopefully someone can help me! I want to
use a listbox as a variable and I can't figure out how.
I have a form that can potentially get called from many different
forms. For instance the same for frmPhones might be called from
frmOrganizations or from frmIndividuals. After pressing "OK" in
frmPhones I want to requery the listbox from the original form
(frmIndividuals or frmOrganizations). So, from the original form I
would pass in the listbox that will be updated, right?
I tried setting a public property in frmPhones called ListBox as a
ListBox and tried this but it didn't work.
With frmPhones
Set .ListBox = frmIndividuals.lstPhones
(I've tried with and without the set)
End With
What am I missing?!?!? Please help!
-Joshua