473,396 Members | 2,013 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,396 software developers and data experts.

Partial Match with Form Filter

8
Hello All,

Does any one know how to use the form filter in Access to provide partial match?
When you choose to "form filter," all text boxes will convert to combo boxes where you can choose from the already stored data in the corresponding tables. But for example I want to match all records containing the word John (assume it is a name field).
If there is a way to do this, it will save my life from having to write a big chunck of SQL code to achieve the mission especially with many fields on the form being matched against.

Appreciated.

- Hany
Oct 27 '06 #1
4 6563
PEB
1,418 Expert 1GB
Hi,

In the respective field type *John*

And you will see that the expression willchange automatically to :

Like "*John*"

:)
Oct 27 '06 #2
wecka
8
Thanks PEB,

That seems a straight forward and good solution, but what do you think will be the best way to present that to the user, especially those of low working knowledge?

Shall I create a little macro that will change the field value (adding the two astrics) before going the search?

I also think of a simpler way in adding a note or a help tip about the search.

Anyways, I am just brainstorming with you if you have something to share. Thanks :)

- Hany

Hi,

In the respective field type *John*

And you will see that the expression willchange automatically to :

Like "*John*"

:)
Oct 28 '06 #3
PEB
1,418 Expert 1GB
Hi

:)

In fact in my work i'm working just with this kind of autofilters and my users just use expressions like "*BEN*" when they search on a part of the field and when they search for full matching they omit the asterix...

Maybe it's better to write a help on how to use the asteriks...

At least I've done it...

The wilcards give a lot of potential to ssek the datbase without problems... And resolve a lot of problems for developping...

In fact I've never tried to change a value in a form filter... So I don't know if it's possible...

Hey people... Good question for a thread???? Is it possible? Changes a value in a form filter?

In queries, Forms, Tables... Yeah but formfilter??? In fact Yeah...Coz it goes stright to the filter property and you need to retreate the filter property of your form or query...

So it's possible with a lot of programming... But more knowledge for your users it should more easier to you! :)
Oct 28 '06 #4
wecka
8
Thanks PEB. Appreciate your prompt responses.

I agree that the help note will be good :)

- Hany
Oct 28 '06 #5

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

Similar topics

17
by: Paul MG | last post by:
Hi Template partial specialization always seems like a fairly straightforward concept - until I try to do it :). I am trying to implement the input sequence type (from Stroustrup section...
4
by: Erik Wikström | last post by:
In school (no I will not ask you to do my schoolwork for me) we talked about policy-based design and got an assignment where we got the a code- fragment from a stack-implementation. The idea with...
2
by: Larry | last post by:
I have the following code attached to a search button on a form that runs a query. It works great, except that the search for Last Name only returns exact matches. It is even case sensitive....
1
by: Stuart E. Wugalter | last post by:
Hiya Folks! I need some help with some string pattern matching. Let's say field1 (in Table1) contains the strings in question and it's data type is memo. I have a form that uses Table1 as its...
2
by: Christian Staffe | last post by:
Hi, I would like to check for a partial match between an input string and a regular expression using the Regex class in .NET. By partial match, I mean that the input string could not yet be...
3
by: Shiva | last post by:
Hi, In my partial replica only the contents of a few tables is being updated / synchronized when I synchronize it with another replica. Is it possible to find out which tables are synchronized?...
4
by: diego.sala | last post by:
If you go to http://europe.nokia.com/A4305060, fill the "Enter your product code:" field with the value "0523183" and press "Go" (the ending page URL varies because there's a variable session-ID in...
1
by: chungiemo | last post by:
Hi thought I would do another thread as this one is a bit different from the previous problem I am looking for a solution to the relating problem Comparing 2 access databases with 2 tables,...
20
by: arnimavidyarthy | last post by:
Hi, Hi, I am taking a string as an input from the user and it should only contain the chars:L , M or R I tried the folllowing in kodos but they are still not perfect:
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.