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

Help with specified search options in form.

Hello,

I am very new with access 2007 and have little Access or VBA experiance. In fact I have only been using Access for around 3 weeks. I am creating a massive DB with information for over 350 clients. The idea is to create the database and dispose of 700+ excel files and the pathetic directory system we currently have but we need Access to be better than the large file system we currently have.

My question is this:
I am trying to create a search button that will apply a filter and will also work with other filters that may be applied at the same time. The reason for this is to minimize the amount of customers we have to sort through. Lets say the button is to show all prepay clients and once its pressed I need a box to fill with the clients that are all prepay only. We have Prepay, Monthly and Spot work as the 3 options. Also I need a button to work along with the others that show active or inactive.

For example I need to be able to press buttons and see in a selectable (in the box the client double clicked needs to take me to that clients details form) vertical box only clients that are Active/ Monthly/ Preferred/ Custom High.

Is this possible and how should I go about doing it.

Thank you lots,
Ganimex
Dec 27 '10 #1
3 1703
repath
14
Hello Ganimex,
your task is simple, if you know how to create a SIMPLE QUERY.

If you know, then as a first step:
Create the said PREPAY, MONTHLY, SPOTWORK Queries.

as second step:
place a combo/drop down list box and select its source property to be VALUE LIST and type these three values in the combo box.

you have docmd.openquery
follow the syntax and write at the click code of the combo box

docmd.openquery "Query name"
eg: docmd.OpenQuery "prepay", acViewNormal,acReadOnly

you can see the selected details.

My advice is to do more homework on Queries as you have database.

These queries can be automatically be exported to Ms. Excel.

Also you have autoreport option in reports tab, by selecting the query as its source, a report is also built automatically, which also can be exported to Ms. Excel format.

With regards
Repath Athyala
www.Repath.WordPress.com
Dec 31 '10 #2
munkee
374 256MB
I would do something similar to the dynamic "where" string creation that allen browne uses in his search/filter scripts.

http://allenbrowne.com/ser-62.html

Take a look at the link there.
Dec 31 '10 #3
Thank you for the prompt response. Let me take a couple minutes and go over the link you posted.

Thanks Again,
GanImeX
Dec 31 '10 #4

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

Similar topics

5
by: ken ullman | last post by:
1. what is robots.txt. I am looking at my log file and have been noticing that this file is not found..who creates it or how does it get created? 2. How do I get my web site to be recognized by...
0
by: dhowell | last post by:
I have a form which has 2 subforms. When I do a search by form and search for things in the main forms fields, the search works. When I try to search for things in the subform fields, the...
4
by: Darin | last post by:
I have hundreds of forms and I have a class defined as cMyForm which is what every form is (inherits cMyForm as the start instead of system.windows.forms.form) When I add a helpprovider to a...
5
by: Brian Henry | last post by:
If i have a text box and want to input a text string into it then use my help files search to look for the inputted text from the application how would i do that? thanks
3
by: m* | last post by:
Hi all... I would like to have an options form with my application that the user can set different settings. I have the form, now to save the information, is it best to save to a text file? Or...
4
by: yanjie.ma | last post by:
Hi, I've got a two part question on table and form design (sorry for the length but it takes a bit to explain). Our sales department uses a look-up table to help the them select the best...
1
by: drewhiggins | last post by:
Hi, I would like to ask for some help for a login form. To access some downloads on the server (I can only use JS and HTML), I have a login form. But how can I make a box that gets the browser to...
4
by: amerar | last post by:
Hi Everyone, I am very new to this, so I'm hoping someone can help. I have a form with buttons that a user can click. What I need to do is that when a user clicks a button, before the form...
5
by: LC2007 | last post by:
Hello, Can someone please help me on how to create Search Criteria form, i can't find exactly what i am looking for!!! i need a search button! but i can't find anything that can help me!
12
by: iahamed | last post by:
Hi Everyone, I got two parts of my advance search to work, I am running out of Logic to connect the third. My mind is in swing! Pleaseeeeeeeee Help me. I have 3 Fiels to search, the First two...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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
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...

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.