473,399 Members | 3,656 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,399 software developers and data experts.

Excel like autofilter query

CCC
Our company have used Excel to filter out documents base on date,
from_company, type_of_document, 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 5818
-----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:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

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

iQA/AwUBQfXerIechKqOuFEgEQLHNQCgljR02NwNpWMb1inDNlS9zB vLa2cAnR9a
Rzk90Bkwy0/Hp1OG4PIyvgA0
=fH0R
-----END PGP SIGNATURE-----
CCC wrote:
Our company have used Excel to filter out documents base on date,
from_company, type_of_document, 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
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
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,...
9
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")...
1
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...
0
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...
4
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...
10
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...
1
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
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
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
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...

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.