473,509 Members | 3,032 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access query criteria question

51 New Member
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 3316
Rabbit
12,516 Recognized Expert Moderator MVP
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
marylipscomb
51 New Member
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 Recognized Expert Moderator MVP
Good luck.
Nov 15 '07 #4

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

Similar topics

1
4646
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 the eye with something I think would be simple to...
5
1457
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 book chapter 7 on the accompanying disc. It is a...
4
1768
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 criteria fields and join fields indexed: 1. Is is...
3
3501
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 new computers with Access 2003. The meetings...
8
4450
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. logically it looks simple but I am not able to...
0
7234
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7136
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7412
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7069
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5652
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3203
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1570
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.