C
Corey-g via AccessMonster.com
Hi All,
I have built a order entry form, and a have a button that pops up a 'search'
form. I read through a bunch of other posts about how to return the selected
value form the pop up, but I can't get it to work as suggested.
I think it was a response from Dirk, and he said that you open the form in
Dialog mode, then when the user selects the value you sent the visible
property to false -and this will allow the code to continue. This doesn't
seem to be the case... What I was hoping to set up was as follows:
The pop up form has 2 parts, the main form and a sub-form (in datasheet view).
The user selects a value from a combo box on the main form, which filters the
datasheet subform (This is working fine). What I was hoping to do was have
the user then double click on the result that htewanted, and have that value
returned into the field on the original form.
So far I have the original form working (as dialog), and when I click the
button to search, the form pops up fine. I can work with the combo box(es)
and filter the subform datasheet, but I can't get the value back.
Any thoughts, better design tips, or assistance would be appreciated.
Thanks,
Corey
I have built a order entry form, and a have a button that pops up a 'search'
form. I read through a bunch of other posts about how to return the selected
value form the pop up, but I can't get it to work as suggested.
I think it was a response from Dirk, and he said that you open the form in
Dialog mode, then when the user selects the value you sent the visible
property to false -and this will allow the code to continue. This doesn't
seem to be the case... What I was hoping to set up was as follows:
The pop up form has 2 parts, the main form and a sub-form (in datasheet view).
The user selects a value from a combo box on the main form, which filters the
datasheet subform (This is working fine). What I was hoping to do was have
the user then double click on the result that htewanted, and have that value
returned into the field on the original form.
So far I have the original form working (as dialog), and when I click the
button to search, the form pops up fine. I can work with the combo box(es)
and filter the subform datasheet, but I can't get the value back.
Any thoughts, better design tips, or assistance would be appreciated.
Thanks,
Corey