Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requerying Other Than Primary Data Access Element
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00645889
Message ID:
00645916
Vues:
10
Hi Chris,

we had this discussen I believe on UT a few weeks ago and you are right with your solution. When you only do a requery I believe that Jasons way is the faster one, but when you want to work e.g. save data ... with the other view you should go the way you mentioned.

Marcus

>What I am currently doing is adding a method (ex. LoadAllCompanies) with code like this:
>
>LOCAL lcCurrentAlias
>
>lcCurrentAlias = THIS.GetAlias()
>
>THIS.SetAlias( "v_Companies" )
>THIS.Requery()
>THIS.SetAlias( lcCurrentAlias )
>
>RETURN RECCOUNT( "v_Companies" )
Marcus Alt
TRIA IT-Consulting GmbH
Working hard | for your success
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform