Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List Index in a List Box
Message
From
01/10/2004 22:17:48
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
01/10/2004 16:02:39
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00948036
Message ID:
00948151
Views:
31
Hey Mike

Instead of
LOCATE FOR RECNO() = m.r1
try
LOCATE RECORD m.r1
>Fabio:
>
>OK, I take it from your reply that the ListIndex is actually the number of records from the top of the file in accordance with the filter.
>
>Because I am giving an option to look at this filtered file in 4 different orders, I think I can do the count once before I go into the list screens. I can save the count in specific fields (count1, count2 etc.) for each of the file orders, then refer to the appropriate count field for the list index.
>
>So there is a way to make this work.
>
>But it seems that we as programmers have to do a lot of work to make these things work. Like in a Grid, I can simply write in the Init, "Locate for recno() = r1" and it opens there. This would seem like a good feature for a list box.
>
>Do you think I am right? If so I will submit to the UT Wish List.
>
>Mike Smith
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform