473,408 Members | 2,888 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,408 software developers and data experts.

Search button / form

Stu
Hi, I've been looking through the archives but can't find what I'm
looking for, or due to my limited experience with Access97, didn't
recognize it...
I've created a database that is going to be used for updating
procedures at several different sites, and am stumped at creating a
search feature. There is one main form with six subforms linked to it,
and I'm not sure the best way to set up the search parameters. I'm
still learning VB and Access, so I don't have the knowledge to write in
depth programs, but would like to know the ways that you all use. What
works, what doesnt work, where's a good starting point for a beginner.
Any advice would be greatly appreciated. If you need more details,
I'll be happy to prove them.

Thank in advance,
Stuart K.

Nov 13 '05 #1
3 4969
I bet you want to search tables, not forms. What do these subforms
represent? What do you want to search, and what do you want to find?

Does any button wizard anything in the direction of what you are looking
for? If so, tell me which one, and how it differs from what you want.

Stu wrote:
Hi, I've been looking through the archives but can't find what I'm
looking for, or due to my limited experience with Access97, didn't
recognize it...
I've created a database that is going to be used for updating
procedures at several different sites, and am stumped at creating a
search feature. There is one main form with six subforms linked to it,
and I'm not sure the best way to set up the search parameters. I'm
still learning VB and Access, so I don't have the knowledge to write in
depth programs, but would like to know the ways that you all use. What
works, what doesnt work, where's a good starting point for a beginner.
Any advice would be greatly appreciated. If you need more details,
I'll be happy to prove them.

Thank in advance,
Stuart K.


--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
For human replies, replace the queue with a tea

Nov 13 '05 #2
Stu
Tables, not forms, your right. I have tables and forms with similar
names to keep track such as frmTopicPlan and tblTopicPlan.
There is a main form called TopicPlan that has a primary key (record
number called Identifier) that links to other forms with the same
Identifier. The other forms are titled Deliverables, TrainRM,
TrainPlan, StdSpec, Tools, and CertGuide.
There is only one Deliverables record for each TopicPlan. All the
"other forms" follow suit with just one record per TopicPlan.
Currently everything is in seperate tables, but I'm not sure if it
should just be one BIG table that everything else references.
Background:
Basically, the company has different procedures at its different sites,
and it wants a way to create a new global-procedure, that eliminates
various site-level procedures. The various forms are the types of
procedures. I already have everything linked together and it works
well, but now I'm told to make a search field so that the user can pull
up/modify any of the procedures from any of the forms. This means I
need to be able to search Title and Description field on all six of the
"other reports" and need to search seven fields from the main form
(TopicPlan) consisting of:
TopicName, TopicOwner, Interfaces/Controls, Exceptions,
Transitions, Critical Success Factors, and Management Reporting.
One example would be search for the word "deisel" and ideally, I would
get every form returned that mentioned deisel in it.
Being fairly new to Access97, I'm not sure how or where to start.
Hopefully this hasnt been too hard to follow...

Nov 13 '05 #3
I get the impression your data structure is not optimal yet. Your
problem decomposes into two issues:

(1) what relation do various pieces of information have to the
Identifier? Ideally, all information in one record of a table should
depend on the primary key, the whole primary key and nothing but the
primary key. Depend meaning here: the information tells you something
about this record.

Once you know the direction to seek:

(2) finding data in fields is relatively easy. Create a button on the
form, create an event procedure for it (properties sheet, Events tab,
Click event: select [Event Procedure]; click the three-dot button, and
if asked, choose VBA procedure) and key in

docmd.FindRecord
Now press F1 for help

Stu wrote:
Tables, not forms, your right. I have tables and forms with similar
names to keep track such as frmTopicPlan and tblTopicPlan.
There is a main form called TopicPlan that has a primary key (record
number called Identifier) that links to other forms with the same
Identifier. The other forms are titled Deliverables, TrainRM,
TrainPlan, StdSpec, Tools, and CertGuide.
There is only one Deliverables record for each TopicPlan. All the
"other forms" follow suit with just one record per TopicPlan.
Currently everything is in seperate tables, but I'm not sure if it
should just be one BIG table that everything else references.
Background:
Basically, the company has different procedures at its different sites,
and it wants a way to create a new global-procedure, that eliminates
various site-level procedures. The various forms are the types of
procedures. I already have everything linked together and it works
well, but now I'm told to make a search field so that the user can pull
up/modify any of the procedures from any of the forms. This means I
need to be able to search Title and Description field on all six of the
"other reports" and need to search seven fields from the main form
(TopicPlan) consisting of:
TopicName, TopicOwner, Interfaces/Controls, Exceptions,
Transitions, Critical Success Factors, and Management Reporting.
One example would be search for the word "deisel" and ideally, I would
get every form returned that mentioned deisel in it.
Being fairly new to Access97, I'm not sure how or where to start.
Hopefully this hasnt been too hard to follow...


--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
For human replies, replace the queue with a tea

Nov 13 '05 #4

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,...
1
by: bdawg | last post by:
what i want to do is create several radio buttons and a textbox for searching purposes. the search will perform a search depending on which button the user selects. here is what i have now: ...
1
by: N. Graves | last post by:
Hi, I want to have a Search Dialog box that has several text box and fields to build a search and display the results in a form. I can do everything that I need to if I us a report but I would...
4
by: Jan | last post by:
I am having problems trying to print a report based on a form. This is a search form only, no data input. There is a query that the form looks at, but then there are numerous comboxes that you...
9
by: Christopher Koh | last post by:
I will make a form which will search the database (just like google interface) that will look/match for the exact name in the records of a given fieldname. Any suggestions on how to make the code?
8
by: Steph | last post by:
Hi. I'm very new to MS Access and have been presented with an Access database of contacts by my employer. I am trying to redesign the main form of the database so that a button entitled...
1
by: ratnakarp | last post by:
Hi, I have a search text box. The user enters the value in the text box and click on enter button. In code behind on button click i'm writing the code to get the values from the database and...
9
by: AMBLY | last post by:
Hello ! Hope someone might be able to help me with this one. I run Access2000 on XP. I have a form : frmONE- which contains a txt field: ctrCTN from my table/database. The values in ctrCTN are...
5
by: Fran Jakers | last post by:
Hello all, I'm new to all this and I could really use some help. I've searched the web but cannot find an answer. I have an HTML form with 3 radio buttons and a search field that calls a...
2
by: Mark | last post by:
Hi All, I am creating a music database for a friend and have run into a problem. Within the ALBUM table, I wanted to store the ARTIST_ID rather than the ARTIST_NAME. To do this, I intended to have...
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: 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
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
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
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.