Results 1 to 2 of 2
  1. #1
    rwahdan1978 is offline Advanced Beginner
    Windows 11 Access 2016
    Join Date
    Jun 2024
    Posts
    57

    Add chart to access form - data populated programatically

    Hi

    I want to add data to chart from a form and display that in an other form. Say I have quiz question and I have 4 answers, I will get random percentage of the answers if they are correct or not. Example:

    Q. What is the capital of UAE?
    A1. Abu Dhabi
    A2. Dubai
    A3. Sharjah
    A4. Ajman

    the correct answer is A1 which is Abu Dhabi. Now based on that I will have random percentages such as:


    A1. 67%
    A2. 23%
    A3. 7%
    A4. 3%

    after that I will user this data to dispaly the bar chart

    Click image for larger version. 

Name:	Untitled.png 
Views:	9 
Size:	8.8 KB 
ID:	51970

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Data must be in table or calculated in query for use in chart.

    How would you get 'random' percentage? Why should a wrong answer have any percentage?
    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.

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

Similar Threads

  1. Replies: 4
    Last Post: 05-05-2018, 04:24 AM
  2. Replies: 11
    Last Post: 12-25-2015, 02:41 PM
  3. Replies: 2
    Last Post: 04-06-2015, 12:08 PM
  4. Import excel data to sql server programatically using ms access
    By selvakumar.arc in forum Import/Export Data
    Replies: 3
    Last Post: 04-29-2013, 08:32 AM
  5. Opening a form from another with pre-populated data
    By uaguy3005 in forum Programming
    Replies: 4
    Last Post: 07-09-2012, 06:05 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