5 hours ago: Our file storage provider is running maintenance today. If any videos don't load, wait a minute, refresh the page, and try again. Sorry for any inconvenience.  Dismiss
Computer Learning Zone CLZ Access Excel Word Windows

Live long, and prosper

Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
Home > TechHelp > Access >
Back to TechHelp    Comments List
same phone number Upload Images   Link   Email  
Mark Desens       
17 months ago
Hi Richard and the guys. Little at a time i am watching the videos as i can. I need help with our callers, we get callers who call every day and some every other day. In my database as we get the call and type in the callers phone number I made a continuous form for all the phone numbers to be in. How can i type in the phone number and compare it to the other ones in the continous form and if that number is in our database 10 times then a pop up message box shows Frequent after typing in the number?
Scott Axton            
17 months ago
Not trying to dodge the question but what did you try?  

Like you and I have discussed previously, it is all just putting the pieces together.
Richard says, "He provides the Legos. It it up to you to put them together in the way that works for you."
Just break it down into the parts first, then build it up to what you want it to be.  Write the steps you need to follow out in English then convert what you are doing to Access.

First check out the Search Form 2.0.  

For the search part, a little bit of it depends on how you are storing the numbers - with or with out the dashes and parenthesis (555) 222-1234 or just the number - 5552221234 ?  
How are your tables set up to store the numbers?
One field in a separate table with designation for type (home, cell, business) or do you have them in three different fields?

The counting part would be pretty easy to add into the searching part. First check out the DCount and even more extensively in Access Expert 29.

For setting the value of the field, wrap the DCount in an IIF Function.

So say that we call your field FFClub to identify they are frequent caller you could just set that to the result of your DCount

So psudo code:
    FFClub = IIF DCount of the Phone >= 10, then FFClub = true otherwise FFClub = False.

You could also use  Conditional Formatting to make the number stand out.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in TechHelp.


The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 7/14/2024 11:07:28 AM. PLT: 0s