locked
Data Filtering & Old Rows RRS feed

  • Question


  • Source Database

    SentDate

    UserId

    Content

    01 Jan 2009

    1

    A

    02 Jan 2009

    1

    B

    03 Jan 2009

    2

    C

    04 Jan 2009

    1

    D

    05 Jan 2009

    2

    E

    06 Jan 2009

    1

    F

    07 Jan 2009

    1

    G


    “Client” synchronizes on 03 Jan 2009 with parameters:

    ·         SentDate: Last 2 Days

    ·         UserId: 1

    “Client” Database

    SentDate

    UserId

    Content

    02 Jan 2009

    1

    B


    “Client” synchronizes on 07 Jan 2009 with parameters:

    ·         SentDate: Last 2 Days

    ·         UserId: 1

    SentDate

    UserId

    Content

    02 Jan 2009

    1

    B

    06 Jan 2009

    1

    F

    07 Jan 2009

    1

    G

     

    I want the clients only have the “last 2 days”. But the row with "Content B" is still in client database. I don’t want to truncate client’s table before synchronization. Is there way to do that?


     

     


    ueo
    • Moved by Hengzhe Li Friday, April 22, 2011 5:27 AM (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    Monday, March 2, 2009 9:32 PM

Answers

  • I think you are using DownloadOnly or Bi-Directional sync for changes.  If you prefer downloading "only last 2 days" data, please try using Snapshot as the sync direction. 

    Please be aware of that using Snapshot will erase all your previous data.

    Thanks.
    Leo Zhou ------ This posting is provided "AS IS" with no warranties, and confers no rights.
    Thursday, March 5, 2009 7:22 AM
    Answerer