Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Standard Techniques for Distributed Applications
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00508412
Message ID:
00509676
Vues:
21
>I would do everything in batches.
>
>Send your data sets back to the server in XML, then convert to cursor. Scan cursor recieved from client: (1) if no primary key, a new record was added. Add key then do an insert. (2) For deletes, use an extra field that indicates a deleted record. If field is flagged, delete from underlying table (3) If record has primary key and no delete flad, it's an update. Update underlying table. Put all this into a single SCAN ENDSCAN loop.
>
>To reject updates while another person is editing, use a some sort of timestamp to see who got to record first.

Charlie,

Where to find sample code for this ?
I have no idea, how to implement this in javascript in client side.
Andrus
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform