Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reference to DE
Message
From
26/03/1999 10:30:33
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/03/1999 07:29:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00202300
Message ID:
00202365
Views:
32
>How do I reference the controling order of a view in the DE from a grid header on a form?
>
>Like This.Parent.Parent ? ? ViewName.Order
>
>Thanks
order(this.parent.parent.recordsource)
Form might not have a DE or not necessarily as thisform.dataenvironment (might be thisform.myDataEnviroment). In any case IMHO order() would parctically be same as with the order property of cursor in DE. So IMHO, no need to browse DE.
If you're getting this to set order in header.click :
-Better save related tags to header.comment in grid.init.
-Be sure to save recno() before changing order :
save recno
change order
refresh grid
go recno
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform