Refresh or requery. Where, please?

G

Guest

Hi!
I have a form based in T_Ocorr. In this form there are a cboOcorr.
When I click in cboOcorr row, open another form, based in query with a
condition to show us only records with condition choosed in that combo.
I would like to refresh (or requery) data in second form when we choose
another option in combo but, now, only change data if we close and "re-open"
de second form.
I would like help to refresh (or requery) data automaticly in second form,
without need to close and to open the second form.

Thanks in advance.
an
 
G

god

You use and On Change Event on your combo box and then have it do a run
command.accmdrefresh or run command.accmdrequery.
 
G

Guest

Thanks for your reply.
When click to change data in combo, return '424' error message:
"Object required"
Thanks.
an
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top