S
SueM
Hi,
I have a combobox on a form which successfully will search
for an item based on inputting parameters (in this case a
product name) in a query.
However it doesn't do a second query. I have tried putting
a requery for the combo on a command button on click event
(Me.Combo1.Requery) but it didn't work.
So to clear the combo I used Me.Combo1.Value=Null. This
clears the combo fine but doesn't allow for a second
search/query to be run.
I thought after that, that I needed to try to use a find
method perhaps and tried a control button with the
following command in the onclick event.
DoCmd.FindRecord "banana", , True, , True
This seems to have run as I no longer get yellow
highlighting or red words, but I can't view the results
I tried putting this on a cmobo but it didn't seem to
work.
Any ideas how I can make the search or the requery work?
I have a combobox on a form which successfully will search
for an item based on inputting parameters (in this case a
product name) in a query.
However it doesn't do a second query. I have tried putting
a requery for the combo on a command button on click event
(Me.Combo1.Requery) but it didn't work.
So to clear the combo I used Me.Combo1.Value=Null. This
clears the combo fine but doesn't allow for a second
search/query to be run.
I thought after that, that I needed to try to use a find
method perhaps and tried a control button with the
following command in the onclick event.
DoCmd.FindRecord "banana", , True, , True
This seems to have run as I no longer get yellow
highlighting or red words, but I can't view the results
I tried putting this on a cmobo but it didn't seem to
work.
Any ideas how I can make the search or the requery work?