N
Nicola
Hi
I am pulling my hair out with what I am sure is a simple task, creating a
search form that, when criteria are entered, finds a record and displays
related data/results from 3 tables. I have tried every forum and web post I
can find but I think there must be something fundamental I'm neglecting to
grasp.
Quick background:
- My database has 4 tables, Firm, Contacts, Mailout and FileNote
- The database is contact-centric (ie, everything is linked to a contact
record, multiple contacts are held against firms, mutiple file notes are held
against a contact, contacts can be attached to multiple mailouts)
- I need to search for a contact record based on multiple criteria (keeping
it simple, lets say a combination of first_name & last_name OR first-name &
firm_name OR their specific contact ID)
- I need a 'results form' (not just a datasheet view) that displays all
information related to that contact (i.e. all files notes + ability to create
new ones, firm contact information, and mailout history)
I've created a Main form with Firm, Mailout, Contact & Filenote subforms
embedded that enables me to scroll through every contact and view all related
detail (as above) and add file notes very nicely. My problem is I can't
search, I can only move through each record sequentially. Very handy when we
have 4000 contacts!
I realise I'm probably a complete wally but could someone please explain to
me the vital steps I'm missing? I've tried unbound fields, I've built SQL
queries & command buttons (but results are dumped into a datasheet)....I'm
lost.
Many many thanks.
Nicola
I am pulling my hair out with what I am sure is a simple task, creating a
search form that, when criteria are entered, finds a record and displays
related data/results from 3 tables. I have tried every forum and web post I
can find but I think there must be something fundamental I'm neglecting to
grasp.
Quick background:
- My database has 4 tables, Firm, Contacts, Mailout and FileNote
- The database is contact-centric (ie, everything is linked to a contact
record, multiple contacts are held against firms, mutiple file notes are held
against a contact, contacts can be attached to multiple mailouts)
- I need to search for a contact record based on multiple criteria (keeping
it simple, lets say a combination of first_name & last_name OR first-name &
firm_name OR their specific contact ID)
- I need a 'results form' (not just a datasheet view) that displays all
information related to that contact (i.e. all files notes + ability to create
new ones, firm contact information, and mailout history)
I've created a Main form with Firm, Mailout, Contact & Filenote subforms
embedded that enables me to scroll through every contact and view all related
detail (as above) and add file notes very nicely. My problem is I can't
search, I can only move through each record sequentially. Very handy when we
have 4000 contacts!
I realise I'm probably a complete wally but could someone please explain to
me the vital steps I'm missing? I've tried unbound fields, I've built SQL
queries & command buttons (but results are dumped into a datasheet)....I'm
lost.
Many many thanks.
Nicola