Open Form By Cmd Button (1 Viewer)

Haytham

Registered User.
Local time
Today, 19:08
Joined
Jun 27, 2001
Messages
162
Hi All...
I have a form and wish to open it by 2 buttons. The first button is normal. The other button, I want to display a Delete Button on my form, so those who have the previlage of opening the second form can delete records, while the others who can open form by first button can enter data only and No Delete Button Appear
Hope it's clear.
Thanks in advance
 

Jack Cowley

Registered User.
Local time
Today, 19:08
Joined
Aug 7, 2000
Messages
2,639
Use the OpenArgs property of the Openform method to send a variable to the form. Then make the delete button visible or not depending on the variable sent.
 

Haytham

Registered User.
Local time
Today, 19:08
Joined
Jun 27, 2001
Messages
162
Thanks a lot.
Will you explain me more how to use Arg please
 

Jack Cowley

Registered User.
Local time
Today, 19:08
Joined
Aug 7, 2000
Messages
2,639
Search Help for OpenArgs. You will find your answer there.
 

Users who are viewing this thread

Top Bottom