Wild Card Searches
Jun 22, 2005
Ive read loads of posts about Wildcard searches but am unable to find the answer to my problem. In one of my boxes on my search form the user places in the search criteria value, this can be from A1 - A16 all the way to G16. At the moment i'm using this as my seasrch query:
[Forms]![Search]![BoxNo]
So if I put in C1 then I get all the C1's, great. If I want to wildcard then I put in Like "*" & [Forms]![Search]![BoxNo] &"*", and again it works, this time it call enything with C1 in it i.e C13.
How can I adjust my query to do both, sometimes I only want the exact match othertimes I want to wildcard :confused:
View Replies
ADVERTISEMENT
Jun 26, 2014
I want to prompt the user to enter a merchant name, but want the results to return close matches.I know how to use the wildcard in the Criteria field of the query, but I want to use brackets.I know that "*Southwest*" Will return Southwest Airlines.So I tried *[Southwest Airlines]* and it treats the criteria like a text string.
View 1 Replies
View Related
Aug 3, 2004
Is it possible to use a * (Wild Card) in a pop up box for a query?
I read the previous post about pop up boxes for quires and it worked worked great! I created one for my month field
My criteria in my search fieled is a follows:
05-May
06-June
07-July
08-August
etc...
As you can see someone would have to type a 08-August to get the results for August, can a wild card be used? Example 08* would return all of 08-August data. I tried it but it wouldn't return any data.
Any help would be appreciated.
Thanks, Scott
View 6 Replies
View Related
Jan 28, 2008
I am using a criteria entry form as the source of parameters for a select query, and I am using IIF statements in the query so that if the user does not want to specify for that particular field, the search still works based on the other parameters specified. Therefore the statement I am using is;
IIf([Forms]![Criteria Form]![Customer Account] Is Not Null,[Forms]![Criteria Form]![Customer Account],[Data]![Customer Account]).
This works.
However for some of the criteria I want to also use wild cards, so that the user can enter just part of the data, and the relevant records will be returned. I understand that wild cards cannot be embedded into the IIF statement above.
I have tried many methods, and trawled the web for ideas, but I cannot get this to work. I either want the user to enter the wild card themselves ie "100*" returning records starting with "100", or for the query to append the wild card itself.
Can someone help please?
View 7 Replies
View Related
Feb 27, 2008
How would I make a query find a person like this:
Inputted Data: Smit
Outputted Data: Smith, Smithy etc..
The formula I have entered in the criteria of my query is:
Like [Enter the person's last name]
With this formula, if I type Smith, then the data that comes out is Smith. But if I type in smit or smi, Smith doesnt come out.
Thanks.
View 4 Replies
View Related
Nov 3, 2007
Hi all,
I need a little help with a wild card issue, Ive looked and looked and cant spot whats wrong.
I have two forms "Requisitioner" & "Engineers", each form has a subform.
These are basic search forms (unbound) that find related records in the subforms. The work is done in the query of the subform and then the form is refreshed. I have used this approach many many times without issue until now.
If the engineers form is opened "G*" is entered into the text box then all the entries beginning with "G" are found in the subform.
If the "*" is then removed from the text box leaving "G" no results are found in the subform, (Working Correctly)
Now if the "*" is added again "G*" then the subform shows all the entries beginning with "G"
Everything is good with the Engineers Form, If the same steps are made on the Requisitioners form after adding the "*" again no records are displayed.
I could change the way this works by doing a recordset find but i really want to know why this is working on one form but not on another.
I would appreciate any help with this.
Garry
View 1 Replies
View Related
May 18, 2013
I have a series of dates that I inherited from former DB. Some of the dates are Mon-Fri, Mon-Thu, Sun-Fri, etc. That is, there is a hyphen "-" in the middle of the text. I have an unbound control with an IIF statement using the LIKE condition, I just get an error. I tired the following to no avail. Using Access 2010.
IIF([Day1] Like "*-*", 5, 1)
IIF([Day1] like "-", 5, 1)
IIF ([Day1] like '-', 5, 1)
IIF ([Day1] like [-], 5, 1)
I've looked it up and the hyphen _ is used as a wild card character, but I need to include it just as a dash.
View 3 Replies
View Related
Aug 30, 2006
I have a search box and it looks up project id number.
the orginal code works but filters anything with that particular number.
I like to adjust the filter to equal to the number enter.
ex,, I enter 22 , i get records with 622, 223, etc
I want it to be only 22
I can't seem to figure this out.. here's te code
Private Sub txtSearchString_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
LSearchString = txtSearchString
'Filter results based on search string
LSQL = "select * from [Projects - Active]"
LSQL = LSQL & " where ID LIKE '*" & LSearchString & "*'"
Form_frmSearch_sub.RecordSource = LSQL
lblTitle.Caption = "Project ID: Filtered by '" & LSearchString & "'"
'Clear search string
txtSearchString = ""
End Sub
View 6 Replies
View Related
Apr 21, 2015
How may I write a criteria in the query where I can pull records with date/time data type (01/31/15 1:30:23 PM) based on today's date?
Example using today's date (4/21/15):
Date()= 4/21/15
The query will pull these records:
ABC 4/21/15 9:14:40 AM
DEF 4/21/15 10:50:02 AM
GHI 4/21/15 2:32:35 PM
etc.
The time does not matter as long as the date is 4/21/15.
I have tried using these formulas:
=Date() & *
=Date(Now)
but these are no success.
View 3 Replies
View Related
Dec 14, 2005
Hi,
I'm trying to search a field which has both names and numbers in it.
For purely text entries the wildcard search works just fine.... like this:
Like "*" & [What is Last Name?] & "*"
I can type in "Smi" and get all of the Smith, Smiths, etc.
However, when I try to use this for entries which include numbers (123), which should return "Smi123" I don't get any results at all.
Any suggestions? I can put in the SMI123 as straight text in the criteria box, and will get the appropriate record.... so I know it is there!
Thanks .....
Gordon
View 4 Replies
View Related
Dec 21, 2005
Sorry All,
I have a simple question, how can I tell if my laptop has a wireless network in it. Thanks.
View 1 Replies
View Related
Jun 4, 2006
Hi,
I'm in a a lot of trouble. My graphics card has stopped functioning, leaving me with a perfectly good computer that I cannot use.
In order to retrieve the information from the harddisk, I got a cable between this computer and another one.
This is my plan:
When the "blind" computer is started, I will enter the cmd. From there I would like to be able to "share" one of my folders on the small network (ie the two computers). Is there a DOS command for this?
second question:
If I have VNC server installed, will I be able to see the desktop from another computer allthough I can't see it on the blind computer? Does that information go through the graphics card before it is sent over the internet, or after it has arrived in the VNC viewer computer?
Fuga.
View 1 Replies
View Related
Apr 7, 2008
Looking at creating a database that looks up records based on a number from a magnetic card. Has anyone ever come across any code that will pull the info from the serial port? I have been looking for 2 days and not able to find anything. I have the card reader but do not have any software to get the info from the serial port and my limted coding does not even come close to what I need. Any help or a push in the right direction would be greatly appreciated.
Thanks,
Matthew
View 4 Replies
View Related
Nov 17, 2006
I want to use a business card scanner, and use the data for my Access 2000 order database. Most card scanners, can send data to Outlook, can you go from Outlook to Access? Any advise would be appreciate it . . . THANKS!:o
View 2 Replies
View Related
Apr 18, 2005
Does anyone know of any software or have any code that would allow to process credit cards.
View 4 Replies
View Related
Aug 3, 2006
Hello,
I am creating a database for a client and have come across a small problem.
The basic background of the database is that it will be used to record and maipulate the results of observations that are conducted on members of teaching staff.
The client wants the ability to search for people that have not had an observation or have an outstanding observation. The observations are made on a termly basis (so there are three terms. 1, 2 and 3). When an observation is entered into the database, the term number is selected from a drop-down box.
I was woundering if anybody could help me with this as I am unter the impression that I am going to need to search for records that don't yet exist and I am unaware of how to do this in a database.
Any help will be much appreciated.
Many Thanks
Jason.
View 1 Replies
View Related
Nov 15, 2006
I need to develope a system that will allow for employees to login and imput their "time card". I found one post on here about something similar, but it didn't give much info. I am very very new to Access so please give info in simple terms or very well explained. I am hoping that I can have a login and password so employees can't access eachothers time card. All it will need to track is
Date
Type of work
Hours
Rate
Comments
I am hoping that this is going to be an easy task, but I need some help. Anyone have any ideas or directions... or even better know where I could just download a template.
Thanks,
Chrissy
View 1 Replies
View Related
Jun 30, 2014
I want to create a database that utilizes the user's ID card to authenticate them and tie any changes to their name.If not that way, using their stored information (SSN, or other ID) as a means of creating a username/password. I've never messed with creating different user levels in Access so this is uncharted territory for me.
View 6 Replies
View Related
Mar 18, 2008
My Access DB has two Number fields and five Text fields (each having field size of 200). They contain text. The DB is organised year-wise. I have now crossed 15000 records. I find that the search is very slow. Search is done on all these text fields for each word typed. Some one suggested that I index the fields to speed up the search. When I tried to change the indexes to Yes, it didnt accept. Is there any other way to speed up search?
As an alternative, I created an append query to append records of the year I select in my form to another table so that I can search that table instead of the main table which contains all years records. But the append query is not appending records.
Any solution would be appreciated
View 1 Replies
View Related
Jun 21, 2005
I have a search tool, but right now it is 100% case sensitive in the sense that if i search for "test" and my entry is "Test" it will not return any results.
is there any way to setup so I could say search for "Test" and it would find "test" properly? Or even to the extreme where I searched for "Tes*" and it came back with the "test" entry.
Thanks,
View 8 Replies
View Related
Jul 6, 2005
Hi everyone i was just wondering if anyone new how to do the following;
Data is entered into a text box named txtItemNo on exit a search is performed and the next textbox txtDescription displays the results.
There is a table with itemnumber and item description in it the results would be the description.
Any ideas? This is on a subform, dont think this amkes any difference though
Thanks in advance :)
View 2 Replies
View Related
May 25, 2006
Hi Guys,
I apoligies in adcance, this has probably been asked several times, but I tried searching the forum but couldn't find anything.
Just now I have a report running from a query were a name is input, the data is pulled out the table and is presented in the report.
I want to take out the potential for user error by having them select the name from the drop down and then running the search.
Years ago (I'm a little rusty) I managed to figure it out, but for the life of me I can't remember!
Any ideas?
Thanks
Steve
View 2 Replies
View Related
Jan 14, 2008
Hi guys,
I need some help here and any would be muchly apprieciated.
I am building a database for a theme park fast pass system where a customer can book themselves a place on a ride at three session times a day.
Now my problem is, that I need to generate a card number. 5555 1946 as the first 8 digits (this always stays the same) and then the last 8 digits is the customer ID number, which is in the same table. So there are 16 digits in total.
Let me give you an example:
A new customer registers and are assigned a customer ID of 1000 0001. Therefore the Card Number for that customer must be 5555 1946 1000 0001.
I have used auto number for customer ID so when a new customer signs up, there ID is 1 more that highest already in te database.
Simple question really...but how is this done?
A million marks for someone who breaks it! Hehe
Thanks
View 1 Replies
View Related
Jan 8, 2005
i'm try to create a database to record staff sign in and out times and to get reports but i cannot for the life of me get it working after many many efforts. can any one help me?
View 2 Replies
View Related
Oct 23, 2004
I have got a dbase created however getting it to print in the order I need for the PVC Id card just is not working.
Any Ideas
thanks
Matt
View 1 Replies
View Related
Jun 7, 2015
In fact, I have one principal d/b running on my access, ad/b which I had imported from my iPad... The import went smoothly enough but I face this problem. I usually scroll the table in order to locate a patient's name.
I can't find a way to select this line and have it switched to a card view in order to update it. I need to move to card view, search from there in order to locate this person in card view. I am sure there is a way to select a line ( a record) in table view and jump from there directly into this record in card view.
View 11 Replies
View Related