G
Guest
Good morning
I have a need to create a report that shows a random 10% of records for a
particular date. This is sorted thanks to Ofer Cohen and Jerry Whittle. I
then need to lock a form until the records selected on the above report have
been reviewed.
My thought process to achieve the above is as follows
1 Query for selection of 10% of random records
2 Update query to create a value in the table against the records selected
in 1, (this value would be 1)
3 Code in current event of Form which says that if there is a value of 1 in
the field in point 2 show warning message YES NO.
4 If yes clicked go to new form which displays records with value of 1 in
the field in point 2. The form has a checkbox to be clicked after record has
been reviewed and a further field date and time stamped once checkbox
clicked(this is for Audit purposes). (Idea of checkbox being checked is that
the value in the field in point 2 will change to -1 rather than 1.
5 If no is clicked in point 3 then original form is closed.
If anyone can understand the above then please advise if this seems the best
way to achieve my ends or if there would be a better way of achieving my ends.
Many thanks
Richard
I have a need to create a report that shows a random 10% of records for a
particular date. This is sorted thanks to Ofer Cohen and Jerry Whittle. I
then need to lock a form until the records selected on the above report have
been reviewed.
My thought process to achieve the above is as follows
1 Query for selection of 10% of random records
2 Update query to create a value in the table against the records selected
in 1, (this value would be 1)
3 Code in current event of Form which says that if there is a value of 1 in
the field in point 2 show warning message YES NO.
4 If yes clicked go to new form which displays records with value of 1 in
the field in point 2. The form has a checkbox to be clicked after record has
been reviewed and a further field date and time stamped once checkbox
clicked(this is for Audit purposes). (Idea of checkbox being checked is that
the value in the field in point 2 will change to -1 rather than 1.
5 If no is clicked in point 3 then original form is closed.
If anyone can understand the above then please advise if this seems the best
way to achieve my ends or if there would be a better way of achieving my ends.
Many thanks
Richard