If in the Access IDE I select "Form" from the list of Objects and "Open" from the Procedures list, the Sub declaration created for me always has the argument: "Cancel as Integer". Why?
If in the Access IDE I select "Form" from the list of Objects and "Open" from the Procedures list, the Sub declaration created for me always has the argument: "Cancel as Integer". Why?
Because the Open event can be canceled under a given condition. If you have no need to do that then ignore the argument. https://docs.microsoft.com/en-us/off...cess.Form.Open
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.