G
Guest
I'm sure this is very easy, but I can't figure it out.
I have a form that allows people to filter by selecting an entry in a combo.
In certain cases this form is opened from another form, where that selection
has already been made. So I did...
AcctID = Me!accountId
DoCmd.OpenForm "frmPrices", acNormal
DoCmd.Maximize
Forms!frmPrices("AccountCombo") = AcctID
But this does not work. Various other guesses at the syntax for the last
line also fail. Yes, "AccountCombo" is a real control on the form in question.
Maury
I have a form that allows people to filter by selecting an entry in a combo.
In certain cases this form is opened from another form, where that selection
has already been made. So I did...
AcctID = Me!accountId
DoCmd.OpenForm "frmPrices", acNormal
DoCmd.Maximize
Forms!frmPrices("AccountCombo") = AcctID
But this does not work. Various other guesses at the syntax for the last
line also fail. Yes, "AccountCombo" is a real control on the form in question.
Maury