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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Database close forms

Status
Not open for further replies.

wackygean

Technical User
Joined
Dec 30, 2003
Messages
1
Location
GB
Form used as main menu form and button wizard used to create button on subform to return to main menu but it does not close subform I know its s little VB code but cant remember exactly what.
 
Hi,

will this help you?

If KeyCode = vbKeyEscape Then DoCmd.Close
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top