R
RBear3
I have a database where I have entered questions and answers to help me
study. I base the form on a query which prompts me for the "topic" I wish
to study.
When the form opens, the "answer" field is invisible. I press a button and
the answer is displayed. I press the "next" button, and the form moves to
another record and hides the answer.
Here's the issue. I'd like to move to a random record, not the next record
in the query. I have done this before, but can't seem to find that old
database that used the randomize function in a form.
Can someone give me step-by-step directions?
I am pretty sure I will have to generate a record between 1 and X (where X
is the number of records selected by my query). I will then tie code to my
button that says "go to record Y" (where Y is the random number I generated
in the previous sentence).
Thanks for the help!
study. I base the form on a query which prompts me for the "topic" I wish
to study.
When the form opens, the "answer" field is invisible. I press a button and
the answer is displayed. I press the "next" button, and the form moves to
another record and hides the answer.
Here's the issue. I'd like to move to a random record, not the next record
in the query. I have done this before, but can't seem to find that old
database that used the randomize function in a form.
Can someone give me step-by-step directions?
I am pretty sure I will have to generate a record between 1 and X (where X
is the number of records selected by my query). I will then tie code to my
button that says "go to record Y" (where Y is the random number I generated
in the previous sentence).
Thanks for the help!