The following VBScript works for me:
Option Explicit
Dim o, c, vLogin
Set o = CreateObject("MaAccess.Host")
o.Init "MaAccess Sample", "DSN=MAS_EsconaTutorial", 5, "", ""
If Not o.DBLoginCheck("", "JNAPOLI", "password", vLogin) Then
Wscript.Echo "Login failed."
Else
Set c = o.CreateObject("Company", vLogin)
c.Clear
c.SetLikeValue "Company_Name", "ABC%"
If c.Select(1) Then
Wscript.Echo c.Company_Name & " - " & c.Client_Id
Else
Wscript.Echo "No match."
End If
c.EndSelect
Set c = Nothing
End If
Set o = Nothing
If the Visual FoxPro equivalent doesn't work for you then it must be a VFP thing.