Results 1 to 3 of 3
  1. #1
    mikej2505 is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Jun 2014
    Posts
    4

    Need Suggestion or Code for a Database

    Ok...Good Morning fellow database enthusiast!



    So here is what I am needing to assistance with. I have a database where the employees in my organization submit questions to their managers regarding work related issues. I created the database because I wanted to be able to capture all the questions from the employees so that I could develop training material relevant to the question to help the employees make more independent decisions.

    So what I am having trouble with is below I have a label "questions pending" and next to it I cut and pasted the count results from a report that I created in the database which counts all the unanswered questions...this way the managers can open up the database and see unanswered questions without having to log into the portion of the database which is password protected.

    The problem is the report in access that I have defined as "Total Count" updates just fine on its own...but I want to figure out a way so the number shown below updates in conjunction with the report results. Is there a way to run code which updates the report upon load and then to cut and past the count results automatically into the window below? Or am I going about this all the wrong way and perhaps there's a simpler solution?

    Thanks for any assistance or recommendations in advance!

    Mike

    Click image for larger version. 

Name:	DATABASE.PNG 
Views:	12 
Size:	8.2 KB 
ID:	18013

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Are you familiar with the DCount() and DLookup() functions? I would expect one of them to solve your problem.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    The problem is the report in access that I have defined as "Total Count" updates just fine on its own...but I want to figure out a way so the number shown below updates in conjunction with the report results. Is there a way to run code which updates the report upon load and then to cut and past the count results automatically into the window below? Or am I going about this all the wrong way and perhaps there's a simpler solution?
    If I am understanding you correctly, I don't think you should need to "Cut and Paste" anything. All your Forms and Reports should be driven by your underlying data (tables & queries). So if data is updated, the Control Sources that your Forms and Reports run off of should also automatically be updated. The only thing you might need to do is refresh your Report/Forms to reflect changes that have happened after that object was opened.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Your Suggestion About Database
    By YYP in forum Access
    Replies: 5
    Last Post: 07-29-2014, 11:49 AM
  2. Replies: 3
    Last Post: 11-23-2013, 06:28 AM
  3. Template Suggestion?
    By TSO in forum Access
    Replies: 5
    Last Post: 03-08-2011, 04:35 PM
  4. I need suggestion in SQL
    By genesis in forum Access
    Replies: 0
    Last Post: 07-31-2009, 08:17 PM
  5. Need suggestion or help please
    By KLynch0803 in forum Programming
    Replies: 14
    Last Post: 06-11-2009, 10:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums