G
Guest
I don't know if it is possible but here is what I would like to do if
possible. I have a table with two fields: Week (number) and Word(text). The
week field can contain numbers from 1 to 10. An example might be:
1 current
1 correct
2 devise
2 disrupt
etc.
I have a randomize statement that randomizes the words based on the index
number of the week. So if I wanted to get the words from week 1 the randomize
statement would use the index number 1 as the max value. The problem is, if I
enter a new word for week one, it is index number 4 and I want it included in
the week one list of randomized numbers. Is it possible to resort the data on
the week field and then have Access re-index? If so, I would then want to
count how many records there were in week 1, 2, 3, 4, and 5 to generate the
number to use in the randomize statement.
Thank you.
possible. I have a table with two fields: Week (number) and Word(text). The
week field can contain numbers from 1 to 10. An example might be:
1 current
1 correct
2 devise
2 disrupt
etc.
I have a randomize statement that randomizes the words based on the index
number of the week. So if I wanted to get the words from week 1 the randomize
statement would use the index number 1 as the max value. The problem is, if I
enter a new word for week one, it is index number 4 and I want it included in
the week one list of randomized numbers. Is it possible to resort the data on
the week field and then have Access re-index? If so, I would then want to
count how many records there were in week 1, 2, 3, 4, and 5 to generate the
number to use in the randomize statement.
Thank you.