View Full Version : Calling VBA-Subroutine in Reports


tilman
10-25-2004, 03:38 AM
With VBA I want to call a selfdefined subroutine "update()" in several reports. But whenever I try this, Access gives me an Error 2465. The Report is selected dynamically by the user and should adapt itself to other settings made by the user. Can anybody help me how to do this? Thanks.

IgorB
10-25-2004, 05:52 AM
Try to change subroutine "update()" to for example MyUpdate().
It's seem to me that "update" name you use is a preserved word for Access.

tilman
10-25-2004, 07:57 AM
Thanks IgorB. But that doesn't help. I do the same thing with Forms and it's no problem there.