Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - auto fill up data in MS Access
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

auto fill up data in MS Access

 Post Reply Post Reply
Author
tmwong View Drop Down
Newbie
Newbie
Avatar

Joined: 26 May 2005
Location: Malaysia
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote tmwong Quote  Post ReplyReply Direct Link To This Post Topic: auto fill up data in MS Access
    Posted: 26 May 2005 at 9:40am
how to make the data in certain column to be auto filled into the next row of the other column? for example, i have two fields: "Present value" and "Previous Value". The value of "Present value" of this month should be the "Previous Value" of next month. so, how to make the record from "Present Value" to be auto filled into the next record of "Previous Value"?
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2005 at 9:53am
do a
strSQL = "UPDATE table SET table.Previous_Value = table.PresentValue WHERE table.ID = value"

the above will update a table so previous_Value is updated to the Present_value where the table.ID = Value.

thatsd just an example SQL


Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.