Solved

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

Posted on 2009-07-10
4
263 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 125 total points
ID: 24829320
Yes.
0
 

Author Closing Comment

by:SuperSnooper
ID: 31602361
IT Works!
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
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 use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

724 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