Calling VBA-Subroutine in Reports

  • Thread starter Thread starter tilman
  • Start date Start date
T

tilman

Guest
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.
 
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.
 
Thanks IgorB. But that doesn't help. I do the same thing with Forms and it's no problem there.
 

Users who are viewing this thread

Back
Top Bottom