i tried using the value of a combo box to return the StaffID value
and tried (taking out using variable and entering in a valid ID
DoCmd.OpenForm "STATS", , , "STAFFID = {BE78E0B3-B4E6-11D6-8B10-0002A5941B7F}"
but i got an error message saying
Malformed GUID in query expression 'STAFFID =...