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
Next Access Version Features
Access record navigation is not working in my custom application
Get only Day and month from datetime
How do I programically select an item in a list box
View variable results in Access VBA code module
Acrobat Activex Control setview method
Access 2003 SELECT Query from two tables base on date
Installing table relationship via vba... Part 1
How to set up a Parallel card under DOS and Windows
Loop through table and number records