Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Definitely alive until 2010?
Message
De
16/09/2004 10:56:12
 
 
À
16/09/2004 10:43:49
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00942119
Message ID:
00942923
Vues:
28
Walter,

Only query data you need.

I agree with this statement, which should be the case regardless of the technology.

In .NET there is no equivalent to USE MyTable and THISFORM.Grid.RecordSource = MyTable.

Misleading on both counts. A result set (list of reason codes, or a list of customers, or all invoices for customer XYZ in the last month) can be bound to a grid by saying "myGrid.DataSource = myTableOfInoviceResults". The performance can generally be the same as VFP.

As for the USE....a functional equivalent can exist. If an app has list of 'code' tables (reason codes, type codes, list of GL accts) that need to be accessed throughout the app (e.g. pick lists), one can pretty easily set up a business object with a GetDataSet Method and table properties. This is a no-brainer.

Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform