Recent content by MSACCESSIT

  1. M

    Using vba variables in forms commands

    JR: Thanks for your help. Now, the form opens up oK, but I'm getting an error on the setfocus. I've tried passing "010" to Text(TB), and I've tried passing the whole Text010 as TB. Both do not work. I also tried putting brackets around TB, like so [TB].
  2. M

    Using vba variables in forms commands

    Hello, I'm new to the forum. I've been banging my head against the wall trying to get this to work: I am using vba within MS ACCESS I want to use passable parameters within a form command: Here is my function code: Function TESTFUN(FN, TB As String) DoCmd.OPENFORM (FN), , , , , acDialog...
Back
Top Bottom