Mike Yearwood
Toronto, Ontario, Canada
Hi Mike
If your list is in the same sequence as the records, try
THISFORM.LIST1.LISTINDEX = m.r1
THISFORM.LIST1.SETFOCUS()
>Mike
>
>I can't quite see what I do after the line. I have the code below in the Init of the form:
>
>LOCATE RECORD M.R1
>NINDEX = THISFORM.LIST1.LISTINDEX && I have tried leaving these
>THISFORM.LIST1.LISTINDEX = NINDEX && 2 lines out, still doesn't work
>THISFORM.LIST1.SETFOCUS()
>
>But it does not put the cursor on the record. In fact the cursor does not appear anywhere on the data file. Its like it hit a Not Found() condition.
>
>What am I doing wrong?
>
>Mike Smith
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only