By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,062 Members | 1,358 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,062 IT Pros & Developers. It's quick & easy.

new to access need help with forms

P: n/a
I have a control that calls a form and that form has a control that
calls a second form. how can I set it to close the first form when
the second is called
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
gj
accessboyz wrote:
I have a control that calls a form and that form has a control that
calls a second form. how can I set it to close the first form when
the second is called


add the following to the code for the button on the first form AFTER
the command to open the second form

docmd.close me
Gavin
Nov 13 '05 #2

P: n/a
On 19 Sep 2004 04:34:29 -0700, accessboyz wrote:
I have a control that calls a form and that form has a control that
calls a second form. how can I set it to close the first form when
the second is called


You wish to close the form that is opening the second form?

DoCmd.OpenForm "FormB"
DoCmd.Close acForm, Me.Name
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.