Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to arrange table columns in alphabetical order
Message
 
 
À
20/02/2001 13:21:12
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00477631
Message ID:
00477735
Vues:
35
>Browse LAST works as long as nobody else browses the table with the same alias on the same machine meanwhile - then his preferences become the last. There's a way to create a named preference,
>
BROWSE .... PREF [preference name here]
>it will get created if it doesn't exist, and will be used if it does, so all it takes is doing one good browse with desired number, widths and order of columns, and it will be used further on.
>Now the great drawback of this method is that it stores the browse preferences in the resource table, i.e. foxuser - which is not the most safe place. I've seen attempts to use this, and it worked fine while it worked, but any problem with foxuser.dbf simply ruined the whole scheme.
>The only safe way to have our custom-made browses appear the way we want them is to write long-sausage Browse commands, field by field (or invent some sort of builder which will create parts of them on-the-fly) - but then, we may be better off going for the grids in the first place. They have better builders, right?

Yeah, I don't do BROWSE in apps. Too many headaches and data integrity holes. Plus, I don't like to explain to users how to look at raw data.

She said this was a FP 2.6 app so there is not many options. Your mention of the long, hairy browses with all the formatting options/switches brought back bad memories. < g >
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform