?
Solved

Dlookup and where condition

Posted on 2016-10-02
3
Medium Priority
?
54 Views
Last Modified: 2016-10-02
Hello, I have an error at the end of the statement.  I need to return or [AvailableUSD_Equiv] for where FACID = 16.  I have tried brackets, quotes and no quotes or brackets and with an with the "&" as well.  Ran out of options.  
Thank you for the help.  

=DLookUp("[AvailableUSD_Equiv]","QryBal2_Works","[FacID]=" 16)


thank you
0
Comment
Question by:pdvsa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 52

Accepted Solution

by:
Rgonzo1971 earned 2000 total points
ID: 41825564
Hi,

pls try
=DLookUp("[AvailableUSD_Equiv]","QryBal2_Works","[FacID] = 16")

Open in new window

Regards
0
 
LVL 22

Expert Comment

by:Kelvin Sparks
ID: 41825567
Try

=DLookUp("[AvailableUSD_Equiv]","QryBal2_Works","[FacID]= 16")

I assume that FacID is a numeric datatype - check it's source table in the query. If a test datatype then it would be

=DLookUp("[AvailableUSD_Equiv]","QryBal2_Works","[FacID]= '16'")

Kelvin
0
 

Author Closing Comment

by:pdvsa
ID: 41825572
perfect.  thank you.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question