post the SQL statement, Dave. perhaps we can help fix it.
hth
When I try to bring all 3 tables into the query I get a "ambiguous outer
join" error
I think that is why I went for the dlookups in the first place.
dave
Yes, I did mean create a query, Tina. Thanks for the assist.
--
Doug Steele, Microsoft Access MVP
(no private e-mails, please)
Create a table that joins the two tables,
and pick CustomerFirst, CustomerLast and DeliveryAddress that way
i'm thinking that Doug meant to say "create a *query* that joins
the
two
tables". if so, he and i posted essentially the same solution. i'm not
sure,
but i'm also thinking that Bob understood you to mean you're using the
DLookups in query *criteria*, while Doug and i understood you to mean
you're
using the DLookups as calculated fields in the query.
how are you actually using these DLookups in the query - as fields, or
as
criteria? and how many tables are we actually dealing with - 2 or
3?
hth
Thank you both for the quick replies.
you both offered different solutions to the problem
Make another table or do it with code. (I am not sure I know how
to
do
either.......)
Is there a best choice of the 2?
Thanks again for the replies
dave
I have a form that is opening noticeable slow when local and
intolerable
slow when on the net work.
I believe I have narrowed the cause down to the dlookups in the
query
that
opens the form
FirstName: DLookUp("CustomerFirst","tblCustomers","[CustomerID]
= "
&
[CustomerID])
LastName: DLookUp("CustomerLast","tblCustomers","[CustomerID] =
" &
[CustomerID])
DeliveryAddress:
DLookUp("DeliveryAddress","tblDeliveryAddress","[DeliveryID] = " &
[DeliveryID])
Are these written wrong or inefficiently?
And suggestions on how to improve performance?
Any help here will be appreciated.
Thanks in advance
dave