Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Synchronize Databases pref. in FPD25
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00658516
Message ID:
00660285
Vues:
18
Hi Sergey

Just got this thought, as I don't want to maintain one more file, how about keeping all the deleted records as-is, take a backup of the data from say the Admin office (this will include the deleted records also), restore it onto the Accounts machine as a different comapany and in the sync module delete records with mactching uniqueid and create, modify the ones found.

I hope I was clear, I was thinking and typing.

>I think you've only two choices:
>1. Modify applications to log delete transaction
>2. Keep snopshot of the tables and compare it to the current state to create such logs.
>
>
>>Thanks Sergey for responding.
>>
>>In what manner can I log? There are many DBFs and many records that may be deleted in a given session.
>>
>>Most problematic are the entries that are recorded in the general ledger programatically. Even a simple edit of the remarks field will delete these entries and regenrate them.
>>
>>These are standalone machines and the data is transferd using Zip or Floppy media.
>>
>>>I think, you should log delete transaction and send them to the central location.
>>>
>>>>Hi all,
>>>>
>>>>I have an app wherein the user wants to synchronize data from different sources into one cummulative database. The app is in FPD25 and it allows for multi companies. I have suggested the user to create temp companies on the Accounts machine for the data which he brings from other sources ie. Factory and Admin office and then run the update utility I am creating from those companies.
>>>>
>>>>The data structures are same. Only a subset of data is entered at the orher places. Masters are added by the other places as required. There is a general ledger database where all the transactions are recorded, this is received as a subset from other places.
>>>>
>>>>All the data has a uniqueid and a lastupdate field (where from I can get the date and time to check for updating) in each record. Updating is okay till now (still in works).
>>>>
>>>>My Problem.
>>>>
>>>>How can I tackle deletes?
>>>>
>>>>I wouldn't know if a record exists in the superset has been deleted from one of the subsets.
>>>>
>>>>Please suggest. Any new idea is also welcome.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform