Question Query

  • Thread starter Thread starter Brandy Renenger via AccessMonster.com
  • Start date Start date
B

Brandy Renenger via AccessMonster.com

Hi everyone. I have a database of questions and answers. I have a form that
the user will answer questions on. This form is based on a query that I
would like to randomly pull questions from the questions table.

On the form, the user is populating a date field, logon field, and answer
field.

My problem is now I cannot get the query to start over where those fields
are blank. It is pulling the same 10 records I answered already.

Not sure how to do this!
 
How are you selecting the questions 'randomly'? If you are using rnd() in
your select statement, it probably runs through the same sequence each time
unless you reseed the random number generator using randomize, at least in
VBA.
 
Brandy said:
Hi everyone. I have a database of questions and answers. I have a form that
the user will answer questions on. This form is based on a query that I
would like to randomly pull questions from the questions table.

On the form, the user is populating a date field, logon field, and answer
field.

My problem is now I cannot get the query to start over where those fields
are blank. It is pulling the same 10 records I answered already.

Not sure how to do this!


Rogers Access Library has an example of picking random records

http://www.rogersaccesslibrary.com/download3.asp?SampleName=RandomRecords.mdb

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top