Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disappearing Grid Method
Message
De
13/03/2006 15:57:11
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
13/03/2006 15:39:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01103672
Message ID:
01103961
Vues:
20
>Unlike most programmers I let the user control what the user queries. The can query from 1 to 30,000. If they do that it would be user hostile for me to double the time required.
>
>In VFP 9 this does not need to "double the time required". You can merely ZAP the grid's RecordSource and INSERT INTO myalias SELECT * FROM SomeTables WHERE SomeCondition.
>
>The other alternative is to use a parameterized view.
>
>Unlike some programmers, I try to protect my end users from shooting themselves in the foot. I have found over the years that even if I give them exactly what they asked for, when they get it they can sometimes realize that it wasn't really what they wanted. Part of my job is to protect them from this.

My users are not shooting themselves in the foot even though I've given them more control. I recommend they not pull all records, but I don't prevent them. I give them the tools that let them do what they need to do. Parameterized views interfere with giving them this control. I teach them to use the gun and recommend they engage the safety. I don't take away the automatic repeat. I don't tell them to go buy VFP 9 just so I can use more recent SQL syntax either. Most of my clients complain bitterly about typical software. I empower them. That's how I see my job.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform