monkeymagic2222
Technical User
Hi,
I have created a query in access that pulls out a random selection of data using the SQL: ORDER BY Rnd([ID]);
This works fine, each time you click on the query the data is random as expected. However when you close the database and reopen it, then run the query again it still shows the last set of random data so you have to run the query a second time in order for the data to refresh.
I'm not too familiar with the way Access works but am guessing there must either be an option to refresh data when the db is loaded or do I have to write a macro to refresh the query?
I have created a query in access that pulls out a random selection of data using the SQL: ORDER BY Rnd([ID]);
This works fine, each time you click on the query the data is random as expected. However when you close the database and reopen it, then run the query again it still shows the last set of random data so you have to run the query a second time in order for the data to refresh.
I'm not too familiar with the way Access works but am guessing there must either be an option to refresh data when the db is loaded or do I have to write a macro to refresh the query?