Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO recordsets and VFP
Message
 
À
29/12/2000 18:21:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00457793
Message ID:
00458207
Vues:
23
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
But I agree, a recordset as a datasource for a grid would be a great addition but I imagine it'd be a major PITA to manage the updates depending on the type of recordset, whether it's batch updates, et al.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

I don't know, John. Would it be that different than what we have now with, say, remote views? The developer makes a decision about the type of data buffering, and binds the view to the grid. Then, it is up to the developer to issue an approriate update when required, to handle transactions, etc. The table/cursor/view-bound grid isn't really "in charge" of the updating of data. In fact, you can bind a grid to a read-only cursor - you just can't update it. A static recordset object could be handled the same way.

Decisions about server-side vs. client-side business could prove tricky, but no more so, to my mind, than it is currently for most ADO processes.

The biggest problem I can see would be with Shape-constructed recordsets, but I would have no problem with a sub-table field simply being ignored by the grid.

Or am I missing something else you had in mind as an issue?
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform