473,395 Members | 1,497 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,395 software developers and data experts.

help me with Filter on MSACCESS 2010

Good Day!

i am new to ms access.
can you help me with my problem?
i have a database here and i cant work with the filter.
here, i have a batch #, date, price etc...
now, i want to have a filter that can find what batch i want to appear. for example, if i type Batch 1, the field should only show all the batch 1 and other data will be hidden. thanks!!! hoping for your reply and help..
Attached Files
File Type: zip db.zip (29.6 KB, 64 views)
Nov 21 '13 #1
1 1211
CJ_London
27 16bit
You haven't described your form so I'm assuming you have a continous form with at least the header and detail showing.

On your form header put an unbound text box, we'll call it txtFind.

In the after update event of txtFind put the following code:


Code:

Expand|Select|Wrap|Line Numbers
  1. me.filter="[BatchNo] = " & txtFind
  2. me.filteron=true
This assumes that BatchNo is numeric
Nov 21 '13 #2

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

Similar topics

2
by: News | last post by:
Folks, I need help with this task. I have a set of data that needs to be plotted on timeline chart. Example: Unit ProcStart ProcEnd Machine U1 5/5/03 6:01 5/5/03 6:04 M1 U2 ...
2
by: William Wisnieski | last post by:
Hello Everyone Access 2000 Looking for some suggestions and advice on how to proceed with this. I hope its not as complicated as it seems to me right now. I've got an unbound main form...
2
by: BerkshireGuy | last post by:
I have the following filter in a report: = 'August 2005' and = 'Client Information Center' And Left(PolicyNumber,1) = 'Z' or 'H' My intention is to have records returned if in August 2005...
2
by: Brad Shook | last post by:
First of all thinks to Cor Ligthert for helping me with this last week. If you wild like to read Cor's comments please refer to the posting from 10/14/2004 and 8:48AM "Help with Advanced...
3
by: cappelquist | last post by:
I have a small Task List / Project Management / Time Management app I'm building for my own use. Any "Getting Things Done" (GTD) users out there? I want a main form that has a large List Box on...
3
by: Troy Bull | last post by:
Greetings I have a simple application 2 tables related via foreign key. Table 1 Parts, table 2 Clients. ClientID is the primary key in the Client Table, clientID is a foreign key in the Parts...
1
by: gfokke | last post by:
Hi People, I need some help with a SQL query... I have a number of tables in my database and I would like to be able to filter out just 1 list with certain information: The 2 most important...
12
by: CharT | last post by:
I could use some help with the BrowseTo feature in access 2010. I have searched for and read everything I can find on the web... which wasn't much. Can browseto be used on a form other than a...
0
Tino Phung
by: Tino Phung | last post by:
Hi all, I had a problem with my VS 2010. When i created a win form application, then run F5, a window was appeared and say : " Can not launch the debugger. The required property 'VSInstallDir' is...
9
benchpolo
by: benchpolo | last post by:
I am currently developing a new database, and somehow the breakpoint (F8) doesn't not work on this particular database. The breakpoint feature in my other database works fine. Is there a settings...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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.