I'm trying to debug some code, and see what is getting returned from a dlookup search, so I tried to put a MsgBox in that would display the dlookup result.
But this just returns Syntax error, without any other details. This is my first try at doing a message box (yes, I am that new to this), so I'm not sure what I am doing wrong.
Any guidance would be GREATLY appreciated!
Code:
Dim groupID As Variant
groupID = (DLookup("ID", "tblWithGroup", "issues.group_ID = " & [ID]))
MsgBox("check me",vbOKOnly, "Check This", , "the groupID = " & groupID & ".")
But this just returns Syntax error, without any other details. This is my first try at doing a message box (yes, I am that new to this), so I'm not sure what I am doing wrong.
Any guidance would be GREATLY appreciated!