Please help !
I need help to identify records in a table as printed.
I have a table with all the microbiological results from experiments.
There is a form which I use to enter the results to the table.
There is also a form with 2 combo boxes where I can select the number of experiments (from experimentid....to experimentid)and then by using a bit of code to print the specified results, as :
If IsNull(from) Or IsNull(Me!to) Then
MsgBox "Select a ""From"" and a ""To"" Sample Code", vbExclamation + vbOKOnly, "Ooooops!"
Exit Sub
End If
criteria = "[experimentid] Between " & Me!from & " And " & Me!to
DoCmd.OpenReport "rpt_nero", acPreview, , criteria
So far the db is working fine.
What I need is a function or procedure (or I don't know what!!) which will take effect when the specified records are printed and then it will update the original table where the experimental results are, by adding the value yes/no to a specific field in each record that is printed.
This way I will know by using another form wich records have been printed and which not.
Thanks in advance.
I need help to identify records in a table as printed.
I have a table with all the microbiological results from experiments.
There is a form which I use to enter the results to the table.
There is also a form with 2 combo boxes where I can select the number of experiments (from experimentid....to experimentid)and then by using a bit of code to print the specified results, as :
If IsNull(from) Or IsNull(Me!to) Then
MsgBox "Select a ""From"" and a ""To"" Sample Code", vbExclamation + vbOKOnly, "Ooooops!"
Exit Sub
End If
criteria = "[experimentid] Between " & Me!from & " And " & Me!to
DoCmd.OpenReport "rpt_nero", acPreview, , criteria
So far the db is working fine.
What I need is a function or procedure (or I don't know what!!) which will take effect when the specified records are printed and then it will update the original table where the experimental results are, by adding the value yes/no to a specific field in each record that is printed.
This way I will know by using another form wich records have been printed and which not.
Thanks in advance.