Hi Klatuu,
Thank you so much for your help! This is great!
Actually I have already tried something similar to this. The pop up is
another form with it's Pop up property set to yes. I was able to populate
the value in the text box of the main form but it posted to ALL of the
records. I just needed to close the Pop up..Duuuhhh!! I had actually
forgotten about me.
Here's the code I used linked to an command button.
Forms!frmApostmortem![txtsubIssueCause] = Me.cbosubIssueCause
My question now is... My combo box on the Pop up form is set to a query as
it's record source for the filter. There is more than one choice for each
item on the main form. The combo box doesn't drop down with the filtered
values. I have to page through using the navigation buttons to the selection
I want. Any
suggestions?
Thanks again!
Klatuu said:
I assume what you are calling a Pop is a combo box. If so, in the Lost Focus
event of the combo box,
txtFieldtoFill is the text box for the field you want to put the data in
cboPopUpList is the combo box with your filtered list. If this is not a
combo box, then it may or may not work.
Me.txtFieldtoFill = Me.cboPopUpList
It would be a good idea to use correct terminology so that we know exactly
what you are asking. Not gripping, just trying to be helpful.
Since there is no such thing as a Pop up box, I have to guess what it is.
:
Thx Klatuu...
I have a main form open to the current record. From this form, I open a Pop
up with a box to select the value from a filtered list. The list is filtered
according to a value of another field on the main form. I need to save the
Popup value into that one record's field.
:
Need more info. At what point do you want to do this? Is it the current
record in a bound form, the current record in an unbound form. A different
table when you are in a form for another recordset, etc. That will have a
bearing on how.
:
Hi,
I need to store data in one field of a specific record by assigning it in
VB. How would I do this? I am using Access 2002.
Thanks,