472,352 Members | 1,451 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Access query criteria question

I am going over code that I am now responsible for but did not write. Can someone tell me what this means? Thank you so much

Also this is on a query, criteria.

Like "*" & [Forms]![Switchboard]![county] & "*"

What does ! mean in this and the & sign mean in this..
Nov 15 '07 #1
3 3229
Rabbit
12,516 Expert Mod 8TB
Like is an operator telling it the SQL engine to return all records that match a text expression. The asterisk "*" means any number of characters.

Andy
Randy
Sandy
Andyn

Like "*Andy" will return all records except the last.

The ampersand & operator is a string concatenation operator.

"*" & "Andy" & "*" will return "*Andy*"

The exclamation mark ! operator access properties/objects of the originating object.

Forms!Form1!txtbox1 means from all the form objects, goto the object named Form1, on form one, return the value of txtbox1.
Nov 15 '07 #2
Like is an operator telling it the SQL engine to return all records that match a text expression. The asterisk "*" means any number of characters.

Andy
Randy
Sandy
Andyn

Like "*Andy" will return all records except the last.

The ampersand & operator is a string concatenation operator.

"*" & "Andy" & "*" will return "*Andy*"

The exclamation mark ! operator access properties/objects of the originating object.

Forms!Form1!txtbox1 means from all the form objects, goto the object named Form1, on form one, return the value of txtbox1.



Thank you so much. Makes perfect sense!!!
Nov 15 '07 #3
Rabbit
12,516 Expert Mod 8TB
Good luck.
Nov 15 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jaycee66 | last post by:
Access 2000 "Between" query question: I am relatively new to MS Access and everytime I think I have a basic concept of the program it pokes me in...
5
by: Bob | last post by:
Hi Everybody Difficult question Has anyone else used the "Using the Tab control as a container" database example that comes with the above...
4
by: Bob Alston | last post by:
Some more, rather specific Access performance questions. IN a split front-end & back-end Access/Jet ONLY LAN situation, and with all query...
3
by: rhobson2 | last post by:
Hello, I wrote a database applicaiton using Access XP (2002) and everything has been working good for the client until they purchased a couple of...
8
by: Sid | last post by:
I hope someone could help me with this. I am trying to setup a criteria to decide when to allow/not allow user to click on the check box....
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....

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.