Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference to DE
Message
De
26/03/1999 10:30:33
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/03/1999 07:29:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00202300
Message ID:
00202365
Vues:
31
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform