E
Eric
I have an access 2007 based application and I need to be able to open a form
based on a uniqueidentifier, the guid is used here as the primary key.
I have this now:
Dim strcriteria as string
strcriteria = "[ID]= '" & Me.ID & "'"
DoCmd.OpenForm ("myform"),,, strcriteria
When I open the form I get this error:
Syntax Error: Converting from a Character String to Uniqueidentifier
Does anyone knows what the correct syntax should be in this case?
based on a uniqueidentifier, the guid is used here as the primary key.
I have this now:
Dim strcriteria as string
strcriteria = "[ID]= '" & Me.ID & "'"
DoCmd.OpenForm ("myform"),,, strcriteria
When I open the form I get this error:
Syntax Error: Converting from a Character String to Uniqueidentifier
Does anyone knows what the correct syntax should be in this case?