filed = Now and Disabled

D

Downie

I have a datasheet table field that when clicked in the Now() Date is
inserted and the cell becomes disabled?

Just the date population si working!

Private Sub print_start_Click()
Me.print_start = Now
End Sub

The disabling feature isn't?
Private Sub print_start_Click()
Me.print_start = Now And disabled
End Sub

Suggestions??????
 
A

Allen Browne

You will need to SetFocus to something else between those 2 lines.

You will not be able to disable it if it has focus, and there is a fairly
high chance of that if its Click event is executing.
 
Top