PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → sfSearchResult No Data
sfSearchResult No Data
Started by Ruan, Aug., 03 2020 4:47 PM - No answer
Registered member
208 messages
Popularité : +1 (1 vote)
Posted on August, 03 2020 - 4:47 PM
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