PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → sfSearchResult No Data
sfSearchResult No Data
Débuté par Ruan, 03 aoû. 2020 16:47 - Aucune réponse
Membre enregistré
208 messages
Popularité : +1 (1 vote)
Posté le 03 août 2020 - 16:47
Good day

I am using this code:

Cnt is sfConnection
Cnt..Login = "vince@gmail.com"
Cnt..Password = "qwerty" + "XXB12VCZ54"
IF SFConnect(Cnt) = False THEN
Error("The connection failed")
RETURN
END

Res is sfSearchResult
Res = SFSearch(Cnt, "FIND {""John Smith""} IN NAME FIELDS")
MyRecord is sfObject
FOR EACH MyRecord OF Res..Object
Trace(MyRecord..ID)
END


It finds information because it returns an array of the data it found but there is no data in the array. When I inspect the array it only has Res.Object[1].record but no other info, there is also no info under the record set.

Thanks

Ruan