Navigation question
Greg Kowalski
gregkowalski at earthlink.net
Tue Jan 20 14:01:15 CST 2004
Hello,
I am learning how to use V4MD and encountered a strange situation.
When I use nextrecord(gMyCursor) to cycle forward through results everything
is fine, but when I use the prevrecord(gMyCursor) to cycle backwards it
doesn't work (returns 0).
The handler is truly very simple:
(after having made the query)
global gmycursor
on mouseup
prevrecord(gmycursor)
put getfield(gmycursor, "name") into field "name"
end
On the other hand:
global gmycursor
on mouseup
nextrecord(gmycursor)
put getfield(gmycursor, "name") into field "name"
end
works fine.
Thank you for your help.
Greg
More information about the Valentina
mailing list