Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows NT vs. Windows 98 in LAN
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00464129
Message ID:
00465065
Vues:
12
>At this moment of time! I'm trying to refine my program, I'll try to replace SET FILTER command by SQL, my question is:
>
>Is it possible that the result of my SQL command be the parent table then put it in a grid. We usually view the fitered data on a grid then individually update each record...

Hello, Ismael.

Of course you can put the resulting cursor on a grid. If you need to edit and update it, however, maybe a view is better than a plain SELECT.

A view is basically a SQL SELECT but with a mechanism to requery it (based on parameters) to get a different set, and update it.

To optimize the update process, be sure about having a clearly defined primary key that the view can use to access again each record you changed.

Tell me if you need more help.

Good luck.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform