Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you Lock a Field after Data has been input? 1

Status
Not open for further replies.

pgoulet

IS-IT--Management
Dec 9, 2002
45
US
We have a customer form that opens in Edit mode.

We want to add a field "referral" that onces that field has data, it can NOT be modified using this same form. But the rest of the data, need to still have the ability of being modified.

Thanks

Paul
 
HI

How about in OnCurrent Event of form

If IsNull(referral) Then
referral.Locked = False
Else
referral.Locked = True
End If

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Thanks,

That is just what I needed. Works like a charm.

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top