I am using the following after connecting to my FM database:
Dim query As String = "{""query"": {""c_Haulier"": ""=Test Company""} }"
Dim findResponse As FMResponseMBS = connection.FindRecords(query)
If findResponse = Nil Or findResponse.ErrorCode <> 0 Then
MsgBox "Find failed: " + findResponse.ErrorMessage
Return
End If
I get the error “Find failed: ‘query’: Expected type array but found type object.
How can I change the string to correct the error?