473,804 Members | 3,113 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Excel like autofilter query

CCC
Our company have used Excel to filter out documents base on date,
from_company, type_of_documen t, country to generate a list of where
the documents physical location is. The number of records have grown
to 8000 and I think it is time to use Access 2000 to handle those
records.

I am completely new to Access. So far I managed to make the selection
in combobox1 narrow down the list in combobox2, and combobox2 narrow
down combobox3 and so on. by adding some code in the afterupdate
property and source field of each combobox.

I am stuck on

1) how do I similate Excel autofilter feature that you don't need to
make your selection sequentially. for example, you can make selection
in any field and all other field's list is updated.

2) After I have made all the correct choice in each combobox of the
form I create, how do I list all records that match the query, and
print it out?

I have studied Access for 2 weeks and is completely clueless. Please
show me the direction.
Nov 13 '05 #1
1 5840
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Try Filter by Form. Form the Access Help file:

"Filter By Form: A technique for filtering data that uses a version of
the current form or datasheet with empty fields in which you can type
the values you want the filtered records to contain."

On main menu select: Records > Filter > Filter by Form.

--
MGFoster:::mgf0 0 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQfXerIechKq OuFEgEQLHNQCglj R02NwNpWMb1inDN lS9zBvLa2cAnR9a
Rzk90Bkwy0/Hp1OG4PIyvgA0
=fH0R
-----END PGP SIGNATURE-----
CCC wrote:
Our company have used Excel to filter out documents base on date,
from_company, type_of_documen t, country to generate a list of where
the documents physical location is. The number of records have grown
to 8000 and I think it is time to use Access 2000 to handle those
records.

I am completely new to Access. So far I managed to make the selection
in combobox1 narrow down the list in combobox2, and combobox2 narrow
down combobox3 and so on. by adding some code in the afterupdate
property and source field of each combobox.

I am stuck on

1) how do I similate Excel autofilter feature that you don't need to
make your selection sequentially. for example, you can make selection
in any field and all other field's list is updated.

2) After I have made all the correct choice in each combobox of the
form I create, how do I list all records that match the query, and
print it out?

I have studied Access for 2 weeks and is completely clueless. Please
show me the direction.

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
25356
by: JM | last post by:
Anyone know how to do an autofilter on a workbook in C#? Any snippets of code or reference material would be helpful!
0
1772
by: Jon B | last post by:
Hi Everyone! I'm in need of help again! I'm just wondering if WinForm DataGrid can have Excel like AutoFilter? Here's an example: http://www.dotnetforce.com/Content.aspx?t=a&n=210 But again, this only in ASP.NET DataGrid. Does anyone know the easiet way to implement this feature in WinForm DataGrid? Any pointers or code samples are grealty appericiated!!!
9
13837
by: John Brock | last post by:
I am trying to create a workbook where one of the worksheets contains an AutoFiltered table. It looks like it should be simple -- what I am doing is this: rng = ws.Range("MyTableRange") rng.AutoFilter() Unfortunately I get an exception on the second statement, with the unhelpful message:
1
8190
by: doug9149 | last post by:
Hello all, I've got some code I wrote using VBA for Excel that I'm trying to recreate using C#.NET. The code autofilters 1 entire column from 1 Worksheet from a Workbook and then appends this filtered code to a new column in a new Worksheet in a new Workbook. First, the VBA code: Set rData = wsData.Range("BQ5", wsData.Range("BQ65536").End(xlUp)) Set rTargetCl = wsTarget.Range("B65536").End(xlUp).Offset(1,0) With rData .AutoFilter...
0
2806
by: denvercr | last post by:
Hi Guys, I need to embed a dropdown list in my excel automation in C#, Do you have any idea how to use Excel.Range.AutoFilter method? or any suggested sites where I can learn this thing?.. Thank you very much, Happy New Year.. -DENVER
4
2970
by: rnot | last post by:
Hello, I would like to paste data at a cell found by the Selection.Autofilter function. My two first columns hold a "scenario" and "replication" data. I would like upon running a macro to paste certain data into the third column at the same row where the replication and scenario are located. Scen = Application.InputBox("Choose Scenario") Rep = Application.InputBox("Choose Replication") Range("A2:B650000").Select...
10
9704
by: afromanam | last post by:
Regards, Please help What I'm trying to do is this: (and I can't use reports since I must export to Excel) I export some queries to different tabs in an excel workbook I then loop through each tab and apply autowidth to columns and apply autofilter to the first row of every tab in the workbook. I've this down
1
1850
by: ericjohnson | last post by:
I've got a macro that has already been written for an Excel spreadsheet used for estimating at work. I know enough VB to write very basic macros, but I cannot understand the logic and purpose behind this function. It is called in several of the other macros already written for the worksheet. Here is the macro: Function ExSht(shtnam As String) Dim rn As String Dim a As String Worksheets(shtnam).Select ...
1
5174
by: bluejeanbaby | last post by:
Hi I'm trying to format an Excel file from within VB.NET 2008 (Framework 2.0). I'm not very familiar with Excel but have taken existing working code from an old VB6 program and am "tweaking" it to get it to work in VB.NET. I have most of it working with the exception of the following lines: rng = ws.Range(xclApp.Intersect(ws.Rows(7).EntireRow, ws.UsedRange.Columns(1)), ws.UsedRange.SpecialCells(XlCellType.xlCellTypeLastCell))...
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10332
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9152
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7620
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6853
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5522
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4300
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 we have to send another system
3
2991
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.