Hello,
I am new to VBA so apologies if I ask any dumb questions. Please find enclosed a copy of a database I am working on.
I want it so that I can set the column marked "Locked" in the Log Table to either 0 for unlocked and 1 to locked. Then at 0730 each morning I want the database to set all fields to 1. This will then lock the record.
I then want it that when people are using the Log Form, that the text boxes, etc. are locked if it reads a 1 in the 'locked' field of the table so that the user cannot enter anything or change anything.
Can you please tell me how I can code this?
Thanks
I am new to VBA so apologies if I ask any dumb questions. Please find enclosed a copy of a database I am working on.
I want it so that I can set the column marked "Locked" in the Log Table to either 0 for unlocked and 1 to locked. Then at 0730 each morning I want the database to set all fields to 1. This will then lock the record.
I then want it that when people are using the Log Form, that the text boxes, etc. are locked if it reads a 1 in the 'locked' field of the table so that the user cannot enter anything or change anything.
Can you please tell me how I can code this?
Thanks