Hi, Can someone help me figure out why I am getting the error "Malformed GUID. in query expression...", with the expression containing Chinese-looking characters instead of the GUID value? Here is the code:
Private Sub Form_Load()
Dim vargd As Variant vargd = Me.ctlGUID Dim str As String
str = "SELECT First_Name, [Name] FROM [ContactList] WHERE ((([ContactList].GUID)={guid " & vargd & "}));"
Me.Combo0.RowSource = str End Sub
|
|