Access - Template Contacts - "Search Not Picking Up words"

%3CLINGO-SUB%20id%3D%22lingo-sub-2388673%22%20slang%3D%22en-US%22%3EAccess%20-%20Template%20Contacts%20-%20%22Search%20Not%20Picking%20Up%20words%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2388673%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20first%20time%20using%20Access.%20I%20was%20looking%20online%20for%20what%20is%20a%20good(free)%20program%20for%20our%20office%20contacts.%20We%20have%20clients%2C%20trades%2C%20supplies%2C%20designer%2C%20contractors%2C%20etc.%20so%20I%20came%20across%20Access!%20It's%20been%20great!%20I've%20been%20able%20to%20start%20inputting%20our%20contacts%20info%20and%20have%20been%20able%20to%20add%20more%20fields.%3C%2FP%3E%3CP%3EOne%20of%20my%20co-workers%20came%20over%20and%20asked%20if%20we%20can%20search%20for%20lets%20say%20a%20projects%20name%20and%20then%20all%20the%20contacts%20related%20to%20that%20project%20will%20show.%20So%20I%20typed%20in%20the%20Search%20box%20and%20for%20some%20words%20or%20names%20nothing%20appeared.%20I%20tried%20other%20words%20and%20some%20worked%20and%20some%20didn't.%20I've%20tried%20googling%2C%20talked%20to%20on%20chat%20and%20phone%20call%20with%20Microsoft%2C%20one%20of%20them%20lead%20me%20to%20here%20and%20hoping%20someone%20knows%20what%20I'm%20talking%20about.%20I%20really%20like%20the%20options%20Access%20Contacts%20template%20is%20providing%20and%20I%20don't%20want%20to%20have%20to%20look%20at%20another%20program.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2388673%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAccess%202016%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2430433%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20-%20Template%20Contacts%20-%20%22Search%20Not%20Picking%20Up%20words%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2430433%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1064066%22%20target%3D%22_blank%22%3E%40cf24_%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%20Claire%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20need%20to%20add%20the%20following%20to%20the%20Search-macro%2C%20since%20you%20added%20the%20Project-field%20to%20the%20Contacts-table%20and%20the%20Contact%20List-form%20(Right%20click%20the%20Search-macro%20and%20select%20Design%20View%20to%20edit%20the%20macro)%20%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20997px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F287455i7C076CE6317AC52C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20adding%20the%20statement%20to%20the%20macro%20and%20saving%20it%2C%20the%20Search-functionality%20in%20the%20Contact%20List-form%20also%20searches%20in%20the%20Project-field.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGood%20luck.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3ETieme%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2430874%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20-%20Template%20Contacts%20-%20%22Search%20Not%20Picking%20Up%20words%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2430874%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1064066%22%20target%3D%22_blank%22%3E%40cf24_%3C%2FA%3E%26nbsp%3BYou%20realize%2C%20I%20hope%2C%20that%20a%20template%20is%20not%20intended%20to%20be%20a%20final%2C%20working%2C%20application%20suitable%20for%20all%20situations.%20To%20state%20the%20obvious%2C%20that%20is%20why%20it's%20called%20%22a%20template%22%20and%20why%20it%20is%20offered%20for%20free%20as%20an%20example%20of%20the%20kind%20of%20application%20you%20can%20adapt%20and%20modify%20to%20suit%20your%20particular%20needs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20Tieme%20explains%2C%20you%20need%20to%20make%20appropriate%20changes%20to%20that%20template%20in%20order%20to%20make%20it%20more%20useful%20to%20your%20organization.%20Before%20you%20do%20that%2C%20of%20course%2C%20you%20need%20to%20take%20some%20additional%20steps%20to%20ensure%20the%20integrity%20of%20your%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMake%20a%20backup%20copy%20of%20the%20current%20relational%20database%20application%20(that%20is%20the%20accdb%20file).%20Put%20it%20in%20a%20safe%20place.%20You%20may%20need%20it%20again%20sooner%20than%20you'd%20think.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFollow%20best%20practices%20guidelines%20for%20implementing%20and%20deploying%20Access-based%20relational%20database%20applications.%20The%20first%20step%20in%20that%20process%20is%20to%20split%20the%20application%20into%20two%20files.%3C%2FP%3E%3CP%3EAll%20of%20the%20tables%20belong%20in%20one%20accdb.%20Nothing%20else%20belongs%20in%20that%20accdb%20file.%20This%20is%20usually%20referred%20to%20as%20the%20%22Back%20End%22%20because%20it%20contains%20only%20the%20tables%20and%20your%20users%20will%20never%20need%20to%20directly%20use%20them.%3C%2FP%3E%3CP%3EAll%20of%20the%20other%20objects%20belong%20in%20another%20accdb.%20This%20is%20the%20forms%2C%20queries%2C%20reports%20and%20code--both%20macros%20and%20VBA--which%20make%20up%20the%20user%20interface.%20The%20user%20interface--in%20Access%2C%20this%20is%20referred%20to%20as%20the%20%22Front%20End%22.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20Front%20End%20is%20linked%20to%20the%20tables%20in%20the%20Back%20End.%20This%20allows%20you%20to%20make%20multiple%20copies%20of%20the%20Front%20End%20(FE)%20so%20you%20can%20give%20one%20copy%20to%20each%20user.%20They%20share%20the%20Back%20End%20(BE)%20because%20there%20is%20only%20one%20shared%20set%20of%20tables%20with%20the%20data%20you%20use%20jointly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20BE%20is%20deployed%20in%20a%20shared%20folder%20on%20your%20network.%20Never%20on%20OneDrive%20or%20other%20such%20file%20service.%20ONLY%20on%20a%20network%20share.%3C%2FP%3E%3CP%3EThis%20allows%20you%20to%20continue%20to%20modify%20the%20FE%20as%20needed%20without%20having%20to%20interfere%20with%20ongoing%20work%20and%20without%20having%20to%20change%20the%20BE.%20Once%20you've%20made%20whatever%20changes%20are%20needed%20in%20your%20master%20copy%20of%20the%20FE%2C%20then%20you%20can%20give%20a%20fresh%20copy%20of%20it%20to%20all%20users.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20a%20great%20deal%20more%20to%20learn%20about%20managing%20and%20developing%20a%20useful%20relational%20database%20application%2C%20but%20over%20time%2C%20Access%20will%20prove%20to%20be%20a%20reliable%20partner%20for%20your%20organization's%20needs.%20Just%20be%20sure%20to%20use%20it%20appropriately.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2435342%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20-%20Template%20Contacts%20-%20%22Search%20Not%20Picking%20Up%20words%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2435342%22%20slang%3D%22en-US%22%3EHi%20Tieme%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20your%20response.%3CBR%20%2F%3EWhen%20I'm%20in%20the%20Design%20View%20-%20how%20do%20I%20get%20to%20the%20edit%20the%20marco%3F%3C%2FLINGO-BODY%3E
New Contributor

Hello, first time using Access. I was looking online for what is a good(free) program for our office contacts. We have clients, trades, supplies, designer, contractors, etc. so I came across Access! It's been great! I've been able to start inputting our contacts info and have been able to add more fields.

One of my co-workers came over and asked if we can search for lets say a projects name and then all the contacts related to that project will show. So I typed in the Search box and for some words or names nothing appeared. I tried other words and some worked and some didn't. I've tried googling, talked to on chat and phone call with Microsoft, one of them lead me to here and hoping someone knows what I'm talking about. I really like the options Access Contacts template is providing and I don't want to have to look at another program. 

4 Replies

@cf24_ 

Hello Claire,

 

You need to add the following to the Search-macro, since you added the Project-field to the Contacts-table and the Contact List-form (Right click the Search-macro and select Design View to edit the macro) :

 

image.png

 

After adding the statement to the macro and saving it, the Search-functionality in the Contact List-form also searches in the Project-field.

 

Good luck.

 

Best regards,

Tieme

 

 

@cf24_ You realize, I hope, that a template is not intended to be a final, working, application suitable for all situations. To state the obvious, that is why it's called "a template" and why it is offered for free as an example of the kind of application you can adapt and modify to suit your particular needs.

 

As Tieme explains, you need to make appropriate changes to that template in order to make it more useful to your organization. Before you do that, of course, you need to take some additional steps to ensure the integrity of your work.

 

Make a backup copy of the current relational database application (that is the accdb file). Put it in a safe place. You may need it again sooner than you'd think.

 

Follow best practices guidelines for implementing and deploying Access-based relational database applications. The first step in that process is to split the application into two files.

All of the tables belong in one accdb. Nothing else belongs in that accdb file. This is usually referred to as the "Back End" because it contains only the tables and your users will never need to directly use them.

All of the other objects belong in another accdb. This is the forms, queries, reports and code--both macros and VBA--which make up the user interface. The user interface--in Access, this is referred to as the "Front End". 

 

The Front End is linked to the tables in the Back End. This allows you to make multiple copies of the Front End (FE) so you can give one copy to each user. They share the Back End (BE) because there is only one shared set of tables with the data you use jointly.

 

The BE is deployed in a shared folder on your network. Never on OneDrive or other such file service. ONLY on a network share.

This allows you to continue to modify the FE as needed without having to interfere with ongoing work and without having to change the BE. Once you've made whatever changes are needed in your master copy of the FE, then you can give a fresh copy of it to all users.

 

There is a great deal more to learn about managing and developing a useful relational database application, but over time, Access will prove to be a reliable partner for your organization's needs. Just be sure to use it appropriately.

 

Hi Tieme,

Thank you for your response.
When I'm in the Design View - how do I get to the edit the marco?
Hello Claire,

At the bottom of the macro you can add a new action and select the SetTempVar -statement. After filling the statement-parameters for Project (as in the example) you can move it up with the green up-arrow.

Alternatively, you can select the last SetTempVar-statement, right click on it and choose Copy. Next right click again and choose Paste. Now fill in this pasted-stament the reference to the Project field.