Solved

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

Posted on 2009-07-10
4
242 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
  • 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Error in WHERE Clause 5 46
SQL Result Set to XML 4 36
DataBasix Technologies Lead Commander download 2 24
Need help how to find where my error is in UFD 6 27
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
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…

776 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