I'm trying to make an append query to append a set amount of cases data to a sampling table. I am following MaCorr's sampling calculations which in my case leaves me with the formula of, 96.04/(1+(95.04)/[Number of records on my qry meeting criteria]).
Example would be if I have 185 records meeting my specified criteria I want to append 63 records to my destination table.
Right now I am running a select query to find the number of records then running an append query and manually entering the calculated sampling size in my select top N.
Any ideas here so I can automate this and eventually move the append query off to a macro?
Thanks
Steve
Example would be if I have 185 records meeting my specified criteria I want to append 63 records to my destination table.
Right now I am running a select query to find the number of records then running an append query and manually entering the calculated sampling size in my select top N.
Any ideas here so I can automate this and eventually move the append query off to a macro?
Thanks
Steve