I
Igor via AccessMonster.com
Hey guys,
Hopefully a quick question... I have a command button running a 'lock/unlock
fields' procedure. When I open the form, it is in the unlocked mode,
obviously Id prefer it to load as 'locked'. I'm trying the code below, but
it is returning the message 'Compile Error Method or Data Member Not Found'.
and highlights the '.Value' , I have tried removing the '.value' and then it
returns a Complie Error Syntax Problem.
Private Sub Form_Load()
Me.cmdLock.Value = True
Call Sub cmdLock_AfterUpdate
End Sub
Im a newbie at coding, so thanks for patience. Am I correct in this approach?
Do command buttons have true/false values?
Hopefully a quick question... I have a command button running a 'lock/unlock
fields' procedure. When I open the form, it is in the unlocked mode,
obviously Id prefer it to load as 'locked'. I'm trying the code below, but
it is returning the message 'Compile Error Method or Data Member Not Found'.
and highlights the '.Value' , I have tried removing the '.value' and then it
returns a Complie Error Syntax Problem.
Private Sub Form_Load()
Me.cmdLock.Value = True
Call Sub cmdLock_AfterUpdate
End Sub
Im a newbie at coding, so thanks for patience. Am I correct in this approach?
Do command buttons have true/false values?