PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → sfSearchResult No Data
sfSearchResult No Data
Iniciado por Ruan, ago., 03 2020 4:47 PM - Sem resposta
Membro registado
208 mensagems
Popularité : +1 (1 vote)
Publicado em agosto, 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