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. 3 4985
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
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...
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.FindRecor d
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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,
returned the hyperlinked page title, filename, and the body txt (30
preceding and following words) in context with the search word
highlighted. Excellent.!
See it working at: http://www.ipt.co.za
Just search for "firearm"
|
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:
- for each radio button, i use the onClick event handler, which calls
a function called showMe()
- showMe() {
|
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 like to have
the search from data displayed in a form.
The structure that I have for this was take from the Asset Manger from
MS. Anyway I open a report that in turn opens up a search form that
allow me to select data. Then you continue by...
|
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 can pick
information from either one or many and press a search button. See
code below for the "Case Select" that was used to make up the
comboboxes. Not a filtered list. My problem is that when I try to
print, it prints all records before the...
|
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?
| |
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 'search' may be clicked on by the user and the user can then
search all records by postcode. I want to do this to prevent duplicate
data entry.
|
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 binding it to a repeater
control. This repeater control has multiple text boxes and buttons. Can
you please tell me how can i do paging in this case ?
I'm posting my code below. The problem is that if i click on
"AdjustThisAd" button, it opens...
|
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 unique. Next to this field is a cmdFIND button
frmONE is open and the active window.
I want to search for values in ctrCTN, and go to the record which contains that value. I do not want to use a cmdButton with in-built Access Find procedure to...
|
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 MySQL database using JavaScript to find a product either by Product ID, Description, or Both. Originally, the 'Both' radio button was "checked" but I now want the 'Product ID' button set as the default choice (as you can see from the code below).
...
|
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 have a command button on the
album form which would open a search form (based on the artist table). This
works as I wanted and allows me to get to one record. I then planned to have
a button on the search form which when clicked, would updated...
|
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...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |