Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    ultimateguy is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    31

    That is correct. The point is to build groups of random questions and then allow the user to make any further customizations that are required.

  2. #17
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by ultimateguy View Post
    That is correct. The point is to build groups of random questions and then allow the user to make any further customizations that are required.
    what stops the same questions from appearing again? (you don't have to answer, just curious)

    Since you're simply filtering the table you're not adding or selecting rows.

    The user doesn't know which row is being picked by the filter and so they won't know what row to filter out? i.e. row id 157, the particular row in the filtered report you want removed.

    I'm assuming there is only one table full of questions and not multiple...?

  3. #18
    ultimateguy is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    31
    Nothing would stop the same question from appearing again - the user could just repeat the process. If there are no other questions left that fulfill the criteria then they would have to enter a new one.

    I have a single table filled with questions.

    You're right, the user doesn't know the ID of the questions being displayed in the report.

    So is there a way to do this from within the report?

  4. #19
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by ultimateguy View Post
    Nothing would stop the same question from appearing again - the user could just repeat the process. If there are no other questions left that fulfill the criteria then they would have to enter a new one.

    I have a single table filled with questions.

    You're right, the user doesn't know the ID of the questions being displayed in the report.

    So is there a way to do this from within the report?
    hmm, you could put a text box in the header of a report in report view but not have it or the ID of each row show in print view.

    That way they could scroll down the report, pick some ID's of rows they don't want, put the ID in the text box and it could filter out that ONE row (you'd need vba to do more than one or several text boxes)

    Then when they print there is no visible IDs and the question they didn't want have gone too.

    You could add a checkbox field that lets you select rows you don't want by saying any row checkboxes doesn't show in the report but then you'd need to make a continuous form first.

    it's all very messy and I would be doing things in vba to make it work (like examining the row, finding what it had it in before adding a row with similar group information)

    maybe june7 has some suggestions before you go further.

  5. #20
    ultimateguy is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    31
    I think what I may do is create an empty table and then with VBA, fill that table with the records produced by my SQL statement. Then the user could use a form bound to that table to customize it and make any changes necessary to the questions. When the user is satisfied they then click a button which would generate a report with that table as the record source.

    I don't know if this is the most efficient way but it should work.

  6. #21
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by ultimateguy View Post
    I think what I may do is create an empty table and then with VBA, fill that table with the records produced by my SQL statement. Then the user could use a form bound to that table to customize it and make any changes necessary to the questions. When the user is satisfied they then click a button which would generate a report with that table as the record source.

    I don't know if this is the most efficient way but it should work.
    I was going to suggest that.

    Populate a table with questions using vba (copies) then delete/hide the rows you don't want.

  7. #22
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Also have an "add row" text box field (you type question in the field, press a button and it adds a row directly into that table, however not in the original questions table - but vba can get around that)

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 11-19-2012, 05:42 PM
  2. Access VBA statement to check for Null entries
    By tim_tims33 in forum Access
    Replies: 4
    Last Post: 01-24-2012, 12:19 PM
  3. Replies: 12
    Last Post: 12-11-2011, 05:04 PM
  4. Best way to handle this Web Database
    By tucker1003 in forum Database Design
    Replies: 8
    Last Post: 03-18-2011, 12:14 PM
  5. What is the best way to handle photos?
    By TundraMonkey in forum Database Design
    Replies: 2
    Last Post: 08-12-2009, 10:52 PM

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