Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
3-Tier programming: Where to put code tables
Message
De
07/11/1998 11:05:40
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
 
À
05/11/1998 21:21:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00155026
Message ID:
00155490
Vues:
23
>Assuming that you want to use VFP as the third tier because of the speed of VFP and your familiarity with it, I suspect that you will meet disappointment with your plans.
>
Although I haven't used this technique yet, I can imagine an object that requeries and gets a desired set of records, then passes them to another object using FileToStr() and StrToFile().

FirstObject's Requery()
REQUERY("MyView")
This.FileString = FILETOSTR("MyView")

OtherObject.Requery
Calls FirstObject's Requery()
STRTOFILE(OtherObject.FileString,"MyView")

I assume this would be limited to small files < 64K.

On the update side one might gather up the changed or new records from OtherObject and return them to the FirstObject. That method would have to update or insert into the FirstObject's view.
Charlie
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform