Results 1 to 5 of 5
  1. #1
    mrmims is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2013
    Posts
    53

    What do you call this?

    Hello,

    What do you call/how would I go about do this:

    I have a Cleaning Company database with a Table with 30+ check boxes with actions performed during a cleaning. At the end of the cleaning, not all 30+ check boxes are checked as not all actions are performed. When creating the report, how do I just show the check boxes checked, and the spacing will adjust based on which check boxes are checked?



    If check box 1 is yes, but 2 - 10 are no, and 11 is yes. How, when I run the report, do I have have 1 and 11 stacked one ontop of the other like a nice organized outline? I don't want to see the unchecked boxes labels or the spaces where the labels would be.

    Does this make sense?

    Thank you for any and all help

  2. #2
    knarfreppep is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Feb 2015
    Location
    Adelaide, Australia
    Posts
    106
    Don't have an infinite number of boolean fields in your table.

    NORMALIZE!

    tJobs { JobID, JobDescription }
    tWorkDoneTypes { WorkDoneTypeID, WorkDoneTypeDescription }
    tJobs_WorkDone { JobID, WorkDoneTypeID }

    With this t structure what you want to do is easy.

  3. #3
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    The way you built the table , yes.
    instead, the 30 check boxes should be the tOptions table for you to pick from.
    Use this list to ADD to the customer, what was performed. A parent-child table.
    cust: ACME
    counter
    Refrigerator
    sink

    cust: ABC
    sink

    A child table , tCustCleaned, has ONLY the events that were performed. Not ALL.
    these items were picked from the 30 available options.

  4. #4
    knarfreppep is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Feb 2015
    Location
    Adelaide, Australia
    Posts
    106
    Parent = tJobs { JobID, JobDescription }
    tOptions = tWorkDoneTypes { WorkDoneTypeID, WorkDoneTypeDescription }
    Child = tJobs_WorkDone { JobID, WorkDoneTypeID }

  5. #5
    mrmims is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2013
    Posts
    53
    Thank y'all! I will do this now and let ya know it works

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

Similar Threads

  1. ODBC-Call Failed
    By gviau in forum SQL Server
    Replies: 1
    Last Post: 07-05-2014, 10:25 AM
  2. Call A function
    By aspen in forum Programming
    Replies: 10
    Last Post: 03-16-2014, 12:57 PM
  3. Call and phone
    By drunkenneo in forum Programming
    Replies: 0
    Last Post: 08-28-2013, 12:49 AM
  4. Not even sure what to call this one
    By eizquierdo in forum Queries
    Replies: 2
    Last Post: 03-14-2013, 12:08 PM
  5. how to call a sub procedure?
    By dollygg in forum Access
    Replies: 1
    Last Post: 08-18-2009, 05:10 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