Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically setting the order in Data Env.
Message
From
24/04/1997 16:10:44
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00029596
Message ID:
00029606
Views:
27
>I have one table in a form's Data Environment. The table in Data Environment shows me the fields and indexes available from that table including an index called 'itemno', but when I need to order or re-order the table programmatally using:
>
>thisform.DataEnvironment.Cursor1.Order = itemno
>
>it gives me an error complaining that it can't find the index name.
>
>Am I using the wrong command or syntax, or maybe there's just another wat to do it.
>
>I would appreciate any ideas,
>
>Thanks,
>
>Steve

Try thisform.DataEnvironment.Cursor1.Order ="itemno"
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform