MS Access RunCode Macro cannot find my procedure

前端 未结 9 1445
一整个雨季
一整个雨季 2020-12-10 11:24

I\'m only posting this since I wasn\'t able to find a solution anywhere. I finally figured it out. Kind of silly really.

When using the RunCode property within an

9条回答
  •  悲哀的现实
    2020-12-10 11:40

    THEN I read the error message carefully. It mentions that it could not find the FUNCTION name. Apparently, the RunCode property specifically requires a "Function" not a Sub. So, I simply changed my Sub to Function and it worked fine!

    Hope this helps.

提交回复
热议问题