Subforms (1 Viewer)

paultri

Registered User.
Local time
Today, 01:23
Joined
May 19, 2003
Messages
19
I have a form that has a field to enter a sku# for a product a customer has returned, i failed to account for if a customer returns more than one product. I didnt want to create 10 different fields to enter sku #'s so i created a subform with the additional sku# fields, my questions is, I cannot figure out how to hide a subform so that it only shows when a button is pushed...is this even a possibility? any help is appreciated

Thanks,
Paultri
 

llkhoutx

Registered User.
Local time
Today, 00:23
Joined
Feb 26, 2001
Messages
4,018
You have hide the subform on some event, maybe the OnExit property for a field which tests null; maybe the clicking of a button on the subform.
 

jhsurti

Registered User.
Local time
Today, 10:53
Joined
May 11, 2003
Messages
24
Set the visible property of the subform to False on the Click event of the button u wish to use for the purpose.
e.g.

.....
If Forms![subFormName].Visible=True Then
Forms![subFormName].Visible=False
Else
Forms![subFormName].Visible=True.
End If
...
...
 

Users who are viewing this thread

Top Bottom