M
mark_jm via AccessMonster.com
I have a form which has a lookup control.
The from "registrationform" has a field "companyname". companyname is in a
table "registrationtable", and looks up on field "owner" in table
"ownerstable"
When using the form "registrationform", I select the company name via the
lookup field from table"ownerstable".
I the owner is a new entry in table "owners tabel", I have a double click
event which opens an input form in add mode to ad tyhe owner to "ownerstabel".
That works great, but when I return to the original form, the new owner (
which was just input) dosnt appear in the list.
I think I ned to refresh the query which is the control source of the form in
question.
How do I refresh the query, as part of the double click event?
Or can I refresh when the field "companyname" gets the focus?
The from "registrationform" has a field "companyname". companyname is in a
table "registrationtable", and looks up on field "owner" in table
"ownerstable"
When using the form "registrationform", I select the company name via the
lookup field from table"ownerstable".
I the owner is a new entry in table "owners tabel", I have a double click
event which opens an input form in add mode to ad tyhe owner to "ownerstabel".
That works great, but when I return to the original form, the new owner (
which was just input) dosnt appear in the list.
I think I ned to refresh the query which is the control source of the form in
question.
How do I refresh the query, as part of the double click event?
Or can I refresh when the field "companyname" gets the focus?