• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMS Question

 
Todd Plambeck
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a record store which comtains a series of jobs which include a pickup and a delivery. New jobs periodically are sent from the server and added to the record store. I need the ability to do the following:
1. Save any jobs that have been completed but not updated on the server.
2. Delete the existing record store.
3. Add the jobs from step 1 to a new record store.
4. Add the new work sent from the server.

My thought was to create an enumeration of the records to be retained. Dump these into a byte array, delete the existing record store, and then stuff these into the new record store. Is this the best way to do this? Is deleting all the unwanted records and adding the new ones considered a bad practice(I was told it was)?

Any thoughts greatly apreciated,

Todd
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic