Microsoft
Software
Hardware
Network
Question : Cannot use .close for an open form?
I am obviously missing something - probably something silly as well.
I have a form I want to close after a selection is made and a button is clicked but cannot do so using the full form name and .close such as "FORM_frmname.close". I thought this was a valid object method/action? I know the object reference is correct.
I CAN close it with docmd.close - so this will work for me - but I am not comfortable with the lack of a reference (ie: close what?) and would rather specify the formname I am closing.
Answer : Cannot use .close for an open form?
docmd.close acform,me.name
Random Solutions
printing a report in access using vba
Why do I get "Invalid Qualifier" with the following code
VB .Net -- Changing the desktop background image
CASE Statement in SELECT
Combo box selection used for an Access query
change range names with VBA?
DHCP WINS scope options
how to get MS Access query "description" text field via VBA
Windows Vista Home Premium Password Issue
Access database form check box