Alan Webb wrote:
"Rick Brandt" <ri*********@hotmail.com> wrote in message
news:0t*****************@newssvr12.news.prodigy.co m... dm******@hotmail.com wrote: I plan to add a PrintMe column (Yes/No) to my main table so that
only certain records will be printed.
How do I change the values back to No when I close the form which
is based on a query based on the table.
Rick,
That will update every row in the table. I believe a change to your
SQL is needed to add a WHERE clause so it only updates the row or
rows that DMKeith wanted updated. Something like, "WHERE
MainTable.RowID=888".
The OP indicated that the Yes/No field is used to determine which records in the
table will be printed. After printing it sounds to me like he would want all of
those fields reset. Otherwise yes, some kind of WHERE clause would be required.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com