要编写几个事件的代码,代码如下
If currentTable.current.Locked then
Forms("xxx").Controls("xxxx").BackColor = Color.Gray
Else
Forms("xxx").Controls("xxxx").BackColor = Color.White
End If
要写代码的事件
CurrentChanged
DataRowLockedChanged