473,320 Members | 1,580 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Query Criteria input format - Any possibility to set this?

Is there a way to set a certain format under the Query Criteria for
input?
i.e.: As user type 200000000, 200-00-0000 is displayed in the query
input box. However, 20000000 is the actual value querried. I am not
sure if I make myself clear or not. Thanks in advance.

Sincerely,
Perry
Nov 12 '05 #1
2 2166
000\-00\-0000;1

"PerryC" <pe******@yahoo.com> wrote in message
news:ea**************************@posting.google.c om...
Is there a way to set a certain format under the Query Criteria for
input?
i.e.: As user type 200000000, 200-00-0000 is displayed in the query
input box. However, 20000000 is the actual value querried. I am not
sure if I make myself clear or not. Thanks in advance.

Sincerely,
Perry

Nov 12 '05 #2
It depends on what exactly you mean by "query input box". If you mean the
box that pops up when you write a parameter query like:
select * from Customers where AccountNo=[Give Account Number:]
then the answer is No.
And the workaround would be to create your own form with a textbox to ask
for the parameter, use the format that Mike MacSween gave you, and rewrite
the query as:
select * from Customers where AccountNo=Forms!MyNewForm!MyNewField

-Tom.

"PerryC" <pe******@yahoo.com> wrote in message
news:ea**************************@posting.google.c om...
Is there a way to set a certain format under the Query Criteria for
input?
i.e.: As user type 200000000, 200-00-0000 is displayed in the query
input box. However, 20000000 is the actual value querried. I am not
sure if I make myself clear or not. Thanks in advance.

Sincerely,
Perry

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Glenn | last post by:
Searching through google groups, I have not found anyone able to modify the query string of a request. I was hoping to make the query string as short as possible so that a search with many...
1
by: longtim | last post by:
I have been having endless difficulty creating reports/queries that set any relevent parameters from controls in forms. I am creating an application under access 2003 but will target access...
3
by: bcaponet | last post by:
I have a form where a user enters a date that I will then base a query on. In the past, I have simply placed Forms!! into the criteria for a query and it runs as long as the form is open. The...
1
by: S. van Beek | last post by:
Dear reader, How can I filter a numeric field with Like as criteria in a query. To filter a numeric field with <10 as criteria this will com back with the result of those records for which...
22
by: Stan | last post by:
I am working with Access 2003 on a computer running XP. I am new at using Access. I have a Db with a date field stored as mm/dd/yyyy. I need a Query that will prompt for the month, ie. 6 for...
1
by: dympna | last post by:
Hi I have created a form which is derived form a query the query has a prompt box which prompts the user to input the criteria they wish to see. I have worked out how to put a command button into...
17
by: sharsy | last post by:
Hello guys, I would like some help in generating query criteria that will identify credit cards that have expired on an access database. The specific Field is formatted with a Data Type of...
7
by: nhkam | last post by:
I am using MS Access 2007 I have a transaction table which holds all records with posting date on each of them. I used a make table query to find out the max date hold in the transaction table and...
4
by: dizzydangler | last post by:
Hi all, I am a new Access user and just starting to get my head around some of the basic concepts, so please take it easy on me :) My company has been managing client records on excel, and I’m in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.