Approach User Support homepage Approach User Support
Answers to Frequently Asked Questions about Lotus Approach
Examples LotusScripts
Example databases
Links to other Lotus Approach support services

[Return to contents]

Automatic macro on opening/closing View file

Last updated: 4 Feb 2002

You can create a macro that runs automatically each time you open a particular approach view file by assigning it the name "OPEN". Similarly, if you assign the name "CLOSE" to a macro it will run each time you close it's associated file.

In version of Approach including and after v96 you can also do it by specifying the macro in the form properties.

Some people have experienced Approach 'forgetting' the OPEN macro. This happens if you save the .apr from design mode. If it happens you have to delete then recreate the OPEN macro. So beware of saving in design mode! In v97 the same problem has been report if the tabs are visible. Well..., it keeps life interesting!

[Return to contents]

© Copyright, JohnBrown, Trademarks, Disclaimer, Acknowledgements.