G
Guest
Hi guys, i've been reading the discussion boards this morning trying to find
out how to requery a combo box when the current window loses focus.
I've tried the Me.Requery statement on the Lostfocus event but this doesn't
seem to work so hopefully someone can offer an alternative solution.
I have two forms - Quotations and Customer. When the user is entering a
quotation in Quotation funnily enough, there will be a time when the customer
they are selecting from the combo box called customer_name isn't there and
thus they need to enter the customer in the Customer database. The user then
clicks a button which takes them to the customer form. The problem is that
when they enter the customer and then go back to the quotations database,
even though I've put the Me.Requery on the lostfocus event, the only way I
can seem to get to the new customer to appear in the combo box is to close
the form and reload it, which is far from ideal.
So any suggestions?
out how to requery a combo box when the current window loses focus.
I've tried the Me.Requery statement on the Lostfocus event but this doesn't
seem to work so hopefully someone can offer an alternative solution.
I have two forms - Quotations and Customer. When the user is entering a
quotation in Quotation funnily enough, there will be a time when the customer
they are selecting from the combo box called customer_name isn't there and
thus they need to enter the customer in the Customer database. The user then
clicks a button which takes them to the customer form. The problem is that
when they enter the customer and then go back to the quotations database,
even though I've put the Me.Requery on the lostfocus event, the only way I
can seem to get to the new customer to appear in the combo box is to close
the form and reload it, which is far from ideal.
So any suggestions?