Results 1 to 7 of 7
  1. #1
    albaker is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    14

    Problems creating form - first time use


    I'm using Access 2016, and I've created a query that results in the table below. I'm trying to get the data to look somewhat like the depiction below, but I'm not having any luck. I've look at many, many posts and watched various YouTube videos, and I can create some simple bar graphs but nothing like this. Can anyone give me some pointers? This is my first time to create a form, and it's getting a bit frustrating. Thank you.

    Click image for larger version. 

Name:	Risks.png 
Views:	34 
Size:	81.6 KB 
ID:	39830

  2. #2
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    IMHO if a chart is what you're after then this is a job for Excel, especially since your query result resembles a spreadsheet anyway. Database information should be tall (in rows) not wide. Did you study normalization before beginning this task? Anyway, Access charts are only slightly better than having sand in your eyes, and what you show looks like you're playing with coloured rectangle widths, which just doesn't make sense to me (for this job).
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,648
    Access charting has always been adequate for my needs but what you show is not a conventional chart. Not even sure Excel could produce it.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,130
    I agree with June. This isn't a chart and its certainly a very complex thing to try for a first form.
    You could use code similar to that in progress bars for your % 'shading' but with 15 of these, it may be slow

    Also I'm unclear how the shaded portion and % values match up or indeed what the % values refer to.

    Also, like Micron I wonder what the underlying data looks like as your query layout isn't a crosstab.
    Is your data normalised? Or is it in a spreadsheet layout?
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,648
    Think I have seen a 'progress/percentage bar' emulated by setting BackColor of a set of textboxes. Don't remember much about it but probably involved Conditional Formatting.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,130
    A progress / percentage bar usually involves using one coloured box behind the text whose width depends on specified criteria.
    When used as a progress bar the width increases as each step of the procedure is completed
    In the example here its width would just be specified from the data values so very simple to implement.
    No conditional formatting needed ....unless you want the colour to change depending on the value

    However as already stated the screenshot indicates there are 15 of them needed - it could possibly take a few seconds to complete

    There are probably hundreds of examples of progress bars available online.
    Here is my take on this: http://www.mendipdatasystems.co.uk/p...bar/4594424316
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  7. #7
    albaker is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    14
    Thanks for all the feedback. As you can tell, I don't deal with databases much, but I have a ton of info I'm trying to boil this down into a dozen or so charts like the above. I have a lot of things to consider, and I appreciate the guidance.

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

Similar Threads

  1. Short time format problems
    By JeroenMioch in forum Forms
    Replies: 7
    Last Post: 12-09-2015, 01:17 PM
  2. problems creating one to one relationship
    By alexthefourth in forum Access
    Replies: 5
    Last Post: 11-11-2013, 06:16 PM
  3. Replies: 3
    Last Post: 08-30-2012, 05:05 PM
  4. Problems loading TIME
    By Daniel.Kuiper1@ing.nl in forum Import/Export Data
    Replies: 2
    Last Post: 09-23-2011, 01:43 AM
  5. Replies: 7
    Last Post: 08-04-2011, 07:49 PM

Tags for this Thread

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