• Report function calling another report’s function (Access 2000 VBA)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Report function calling another report’s function (Access 2000 VBA)

    Author
    Topic
    #360799

    Can a function in one report call a function in another report? I was thinking something like:
    Total = [Reports]![r Activity]!TotalIt(1,2)
    But that doesn’t work. I know I could hive the function off into a module, but for my application it makes more sense in a report.

    Viewing 1 reply thread
    Author
    Replies
    • #544082

      In theory, probably, but reports aren’t interactive the way forms are. What exactly are you trying to accomplish.

    • #544121

      You’re very close, at least in my experience. Try:

      =[Reports].[r activity].TotalIt(1,2)

      The only kicker is that the [r activity] report must be open and in preview view for the function to be accessible.

      Jordan

    Viewing 1 reply thread
    Reply To: Report function calling another report’s function (Access 2000 VBA)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: