Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Use a Variable "Criteria " in an Access 2003 db Query

Posted on 2009-07-10
4
Medium Priority
?
273 Views
Last Modified: 2012-05-07
I need to use DLookUp to determing the value for a Query " Ctiteria".  I don't have the slightest idea how to do this.
0
Comment
Question by:SuperSnooper
[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
  • 2
  • 2
4 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 24829268
You will have to be more specific about your requirements.
There is no problem in principle about using a dlookup in a criteria cell, although it is fairly unusual thing to do.

0
 

Author Comment

by:SuperSnooper
ID: 24829308
Peter,

I have a query with a variable criteria as the liniter for the results.  I want to use the value from a DLookup field to as the value for the criteria.  Do just put the DLookUp statement in the "Criteria" fo the query fields?
0
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 24829320
Yes.
0
 

Author Closing Comment

by:SuperSnooper
ID: 31602361
IT Works!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

604 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