Hello,
I am having some problems administering a database that;s linked by an OBDC link for it's source information. What's happening is that it's not retreiving all of the information it's suppost to be and I'm getting a problem message which prompts me to debug some code, but I don't understand the code (the database was designed by somebody else). Anyways, I've included the code below and if somebody could clarify what exactly it means, I would really appreciate it.
Note: The code is saved as a module.
Thanks,
Ryan
Public Function LookAtCmd( )
If (Command Like "macro=*" Then
DoCmd.Runacro Mid(Command, Instr(1, Command, "=" +1)
DoCmd.Quit
End If
End Function
I am having some problems administering a database that;s linked by an OBDC link for it's source information. What's happening is that it's not retreiving all of the information it's suppost to be and I'm getting a problem message which prompts me to debug some code, but I don't understand the code (the database was designed by somebody else). Anyways, I've included the code below and if somebody could clarify what exactly it means, I would really appreciate it.
Note: The code is saved as a module.
Thanks,
Ryan
Public Function LookAtCmd( )
If (Command Like "macro=*" Then
DoCmd.Runacro Mid(Command, Instr(1, Command, "=" +1)
DoCmd.Quit
End If
End Function