LaRetta Posted May 1, 2016 Posted May 1, 2016 (edited) I wish to create 10,000 records with a random number between 735234 and 736329. Actually, I want to generate these records as dates between 1/1/2014 and 12/31/2016. I used numbers thinking it would be easier to script. Numbers (or dates) can be repeated, the only criteria is that the record set be random. Any ideas how to proceed would be appreciated. Purpose of this request: To generate sample data for charts. Edited May 1, 2016 by LaRetta
comment Posted May 1, 2016 Posted May 1, 2016 (edited) Not sure where you're having difficulty with this. Simply set the date field to = Int ( Random * 1096 ) + 735234 Note: the number 1096 is obtained by = 736329 - 735234 + 1. Edited May 1, 2016 by comment 1
LaRetta Posted May 1, 2016 Author Posted May 1, 2016 Ah! That is perfect, no surprise there. And it is easy to see once you show us the logic of it. Thank you so much!
Recommended Posts
This topic is 3475 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now