DLookup query source stops working in combo box after update event

P

Peter

I have a dlookup which retrieves values from a query. The query stops
working when the after update event fires. The query works fine at other
times. They query uses a [Forms]![frm_abc]![field] reference in the where
clause and this does not seem to resolve when the event is processing. for
example if I type the value for the field into the query, it retrieves values
but if I let the query try to resolve the [Forms] resolution it doesn't work.
It retrieves no values. In the form after update code I can do a msgbox and
it resolves the [Forms] thing but not in the query.
 

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