Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a better way to replicate between db's than thi
Message
De
07/11/2001 11:54:21
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/11/2001 11:40:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00578549
Message ID:
00578555
Vues:
13
>I have users with a local copy of a database on their laptop machines. When they want to copy new/changed records to the master database (Network connection), they select a checkbox when viewing those records. The next time they are connected to the master database, they run a replication function which looks like this:
>
>scan for a record with replication = .t.
> search the master database for a matching record
> IF the record does not already exist in the master
> Append from the local database
> ELSE
> SCATTER the local record
> GATHER to the master record
> ENDIF
>endscan
>
>While this does work, it seems pretty slow. Is there a better way to do such a thing?
>
>Thanks,
>Pat
Pat,
I haven't tried myself but check createoffline() and online clause (use). Sounds like for this purpose.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform