Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to keep Track of Updates..!

How to keep Track of Updates..!

Scheduled Pinned Locked Moved ASP.NET
comtutorialannouncement
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wEb GuRu
    wrote on last edited by
    #1

    Hi I have developed a site of Sale/Purchase of Vehicles. We put vehicle's information on other site like greatvehicles.com, ebay, vroom.com etc. Now when a user update its Vehicle Information from his account I need to keep track what information he has changed(eg Make, Model, Photos etc). I need to keep last 5 updates made by user. Please suggest me any koool suggestions to handle it. Please let me know if you need further information regarding this. Thanks in advance Lets work it Out.........!

    H 1 Reply Last reply
    0
    • W wEb GuRu

      Hi I have developed a site of Sale/Purchase of Vehicles. We put vehicle's information on other site like greatvehicles.com, ebay, vroom.com etc. Now when a user update its Vehicle Information from his account I need to keep track what information he has changed(eg Make, Model, Photos etc). I need to keep last 5 updates made by user. Please suggest me any koool suggestions to handle it. Please let me know if you need further information regarding this. Thanks in advance Lets work it Out.........!

      H Offline
      H Offline
      Hain Kurt
      wrote on last edited by
      #2

      create a table on database say vehicle_history (the fields that you need to keep track of and a number showing the history id) create a update trigger on original table and insert (if the number of records for that vehicle is <5, or insert + delete the oldest or the one with smallest history id). Thats it... Hain Kurt

      W 1 Reply Last reply
      0
      • H Hain Kurt

        create a table on database say vehicle_history (the fields that you need to keep track of and a number showing the history id) create a update trigger on original table and insert (if the number of records for that vehicle is <5, or insert + delete the oldest or the one with smallest history id). Thats it... Hain Kurt

        W Offline
        W Offline
        wEb GuRu
        wrote on last edited by
        #3

        Thanks a lot..! Lets work it Out.........!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups