Query with Parameter

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Created a query that has a field with the expression
[Numbers]\4+1. Trying to create a parameter that says
Between [TypeBegin#]and [TypeEnd#]for users to type what
they need to see. However does not show correct records.
I tried adding a +0 at the end, which works when using 1
as the beginning number. Does not work with any other
beginning number. If I type in Begin at 2 and end with 6,
it will show all records from 2 on. Already checked
format & is correct. It will work when just typing in
Between # & #.
 
A parameter query can not convert one parameter to another. So, the goal of
translating [TypeBegin#] and [TypeEnd#] to [Numbers] is not going to happen.

You can build a custom form to get the values and create the query.


--
HTH,

Steve Clark, Access MVP
FMS, Inc.
Professional Solutions Group
http://www.FMSInc.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Is your Access database too slow?
Are you ready to upgrade to SQL Server?
Contact us for optimization and/or upsizing!
http://www.FMSInc.com/consulting
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Parameter Query with DSum 1
Parameter Queries in Crosstab Query 2
Parameter Query Won't Run 0
Parameter Query 3
Parameter query with date field 8
Help with parameters 2
Date parameter 3
parameter query 3

Back
Top