Senin, 21 Desember 2015

RE: [MS_AccessPros] Referring control in a SubForm

 

Something like this?

 

On current event of main form

 

If isnull(me.subformname.attachment) then

   Me.cmdButton.enabled = false

Else

   Me.cmdButton.enabled = true

End if

 

From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Monday, December 21, 2015 11:11 AM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] Referring control in a SubForm

 




Dear All,

 

I have this situation, I have a mainform with a subform. On my mainform I have a command button that I would like to enable/disable, depending on the control in my subform..

 

I would like to disable my command button in my mainform if “Attachment” control in my subform is empty.. (I want to make sure that user will not be able to click the command button if attachment is null/empty)..

 

Thank you..

Zjubias

 

 


Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







This email (and all attachments) is for the sole use of the intended recipient(s) and may contain privileged and/or proprietary information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

__._,_.___

Posted by: Liz Ravenwood <Liz_Ravenwood@beaerospace.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

.

__,_._,___

Tidak ada komentar:

Posting Komentar