OpenForm In Different Mode

Haytham

Registered User.
Local time
Today, 06:09
Joined
Jun 27, 2001
Messages
162
Hi All...
I have a tabular form. I open this form by 3 different buttons
Button1 = ReadOnly, Button2 = AddNewData etc...
My point is how can I hide CmdDelete when OpenForm as ReadOnly.
 
In the OnOpen event of the read only form enter this code

Me.CmdDelete.visible = False

IMO
 
Last edited:
Hi Pat Hartman
Thank you. It works well.:D
 

Users who are viewing this thread

Back
Top Bottom