• Finding CurrentRecord (Access 2003)

    Author
    Topic
    #425066

    I’m having problems getting the ‘CurrentRecord’ property to work.
    What I have is the attached code setup in a module and I use an AutoKey (F8) to execute the code. The problem is I’m getting Run-Time Error 438. When Debugging, the line with “CurrRec = Forms!F_AMLWork!F_AgileData_Parsed.CurrentRecord” is highlighted. Does anyone know how to solve this problem? I’m trying to capture what the current record is so I’m able to return to it after this script runs.

    Thanks in advance for any help,
    Drew

    Viewing 0 reply threads
    Author
    Replies
    • #978157

      If F_AgileData_Parsed is a sub form from F_AMLWork then you should use :
      CurrRec = Forms.F_AMLWork.F_AgileData_Parsed.Form.CurrentRecord

    Viewing 0 reply threads
    Reply To: Finding CurrentRecord (Access 2003)

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

    Your information: