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

Designing a Search Form (Access 2002)

Hi All,

I'm having quite a bit of trouble designing a search tool to work with
my database. I have found lots of examples from Microsoft Templates
to Allen Browne's sample search form. The latter looks very
promising, but I need to incorporate a combo box with "Nurse Care
Managers" and have it filter by this. (Right now, I'm being asked to
enter a parameter value and I can't figure out how to fix this.)

I need to be able to search with any combination of the following
fields, preferably with incomplete first and last names (if possible).

Last Name (text box)
First Name (text box)
Date of Birth (text box)
SSN (text box)
Nurse Care Manager (combo box with list from a query)
Referred date "From" and "To" (text box)

I think Allen Browne's search form will work well, but I am having
trouble getting my Nurse Care Manager dropdown to work. If I want to
bring up a list of all nurse AH's patients, if I type "AH" in the
"Enter Parameter Value" box, it works. I know this can be avoided,
but I can't remember how to fix it. A Yes/No field and combo example
is given; I think I just don't know what the code is supposed to look
like for just a combo example.

Any help would be much appreciated!

Audra

---
Allen Browne's sample search form can be found here:
http://allenbrowne.com/ser-62.html

Aug 23 '07 #1
1 2684
hottoku wrote:
Hi All,

I'm having quite a bit of trouble designing a search tool to work with
my database. I have found lots of examples from Microsoft Templates
to Allen Browne's sample search form. The latter looks very
promising, but I need to incorporate a combo box with "Nurse Care
Managers" and have it filter by this. (Right now, I'm being asked to
enter a parameter value and I can't figure out how to fix this.)
What is the SQL for the combo? Have you created the combo? Where are
you being asked to enter a parameter value?

Bottom line. Does your combo work? Does it drop down some rows? If it
doesn't, go to the property sheet for that field and cut/paste your SQL
for us to review.

If it does, does it fail when you start searching?

I think that for a solution you need to think your problem out and
describe it better.

I need to be able to search with any combination of the following
fields, preferably with incomplete first and last names (if possible).

Last Name (text box)
First Name (text box)
Date of Birth (text box)
SSN (text box)
Nurse Care Manager (combo box with list from a query)
Referred date "From" and "To" (text box)

I think Allen Browne's search form will work well, but I am having
trouble getting my Nurse Care Manager dropdown to work. If I want to
bring up a list of all nurse AH's patients, if I type "AH" in the
"Enter Parameter Value" box, it works. I know this can be avoided,
but I can't remember how to fix it. A Yes/No field and combo example
is given; I think I just don't know what the code is supposed to look
like for just a combo example.

Any help would be much appreciated!

Audra

---
Allen Browne's sample search form can be found here:
http://allenbrowne.com/ser-62.html
Aug 23 '07 #2

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

Similar topics

1
by: Les Juby | last post by:
A year or two back I needed a search script to scan thru HTML files on a client site. Usual sorta thing. A quick search turned up a neat script that provided great search results. It was fast,...
5
by: Richard | last post by:
Hi, I have a form that take some time to load due to many comboboxes and at least 8 subforms. When I filter or sort the main form I get an error message and then Access shuts down. They ask if...
1
by: kristiaan_verhoeven | last post by:
Hello everyone, After I updated Office '97 to Office 2002(XP)and I do a search in a access database I get the following message. The control 'Command23'the macro is attempting to search...
2
by: rinmanb70 | last post by:
I have a QBF form/query and a report from the QBF that shows the results of the QBF. I would like to show the criteria on the report that was used in the QBF to get the info on report. I can't...
1
by: TheDataGuy | last post by:
Using MS ACCESS 2002 Problem - I developed a form, and within that FORM, I added a SEARCH BUTTON, and then I created a SUB-FORM, so when an end user clicks on the FORM it will POP-UP the SUB-FORM,...
32
by: keri | last post by:
Hi everyone, Having learnt a little about the basics whilst creating my first db I am now about to start creating a good one! I am about to sit down with a large piece of paper and plan it all...
2
swatmajor1
by: swatmajor1 | last post by:
Hi there, I am making a database, based on CPU data, in Access 2002 for a school assignment, and I'm trying to develop a form which a user can enter search parameters. A picture of the...
9
by: hrreece | last post by:
I have an Access 2002 database that has a form that can be used to review individual records. At the bottom of the form are buttons that are linked to functions that allow the user to "Find a record...
1
by: Peader | last post by:
Hi, I'm trying to complete a form that will search previous results entered in a table and return the row items based on a ID number. My current code is below: Private Sub cmd22_Click() ...
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:
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
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
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...

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.