yaniv said:
Hi tom
I would like to try it.
Can you please be more specific about the way ?
I have no idea how to do it.
Thanks a lot
Yaniv
Yaniv, are you saying that you want the form to 'remember' the color
after the user set it with the command button? That is, 1) the user
scrolls away from the record, then scrolls back - the record should
still be red. and 2) Tomorrow, when the user looks at this record again,
it should still be red?
If that is the case, what Tom suggested here will work.
You will need to:
1. Add a new field [IsRed] to the table.
2. Add code to the Current Event of the form to set the background color
of all the controls on the form that are bound to this recordsource
(table) to red if [IsRed] is True, normal otherwise.
3. Add code to the OnClick Event of the command button to set [IsRed] to
True.
What version of Access are you using?