Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Reset records in columns
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Reset records in columns

 Post Reply Post Reply Page  12>
Author
haddadin87 View Drop Down
Newbie
Newbie


Joined: 29 January 2006
Location: Jordan
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote haddadin87 Quote  Post ReplyReply Direct Link To This Post Topic: Reset records in columns
    Posted: 06 February 2006 at 12:49am
I have a columns that i want to reset all it row's to the number 0 instead of other numbers,, i'm using MS ACCESS
 
can anybody tell me how to do it
 
thank you very much!
 
haddadin
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2006 at 3:57am
Update tablename Set ColumnNameWithZeros = 0

just put that in a query and all values will be 0 in that column for every record.
Back to Top
haddadin87 View Drop Down
Newbie
Newbie


Joined: 29 January 2006
Location: Jordan
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote haddadin87 Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2006 at 11:13am
look i have the columns: Hits, Rating, No of rating, Total rate amount
 
I want to change the value of these 4 clumns only. to zero "0"
can u give steps please.
 
Thanks...
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2006 at 2:42pm
Same thing.
Update tablename Set Hits=0,Rating=0,[No of rating]=0,[Total rate amount]=0
GO
Back to Top
haddadin87 View Drop Down
Newbie
Newbie


Joined: 29 January 2006
Location: Jordan
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote haddadin87 Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2006 at 8:26pm
sorry i couldn't understand this..
can u please give me steps in MS ACCESS PROGRAM how to make it.
 
sorry for this!
 
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2006 at 9:12pm
You need to write a query in MS Access. Click on query, new, go to the SQL Screen, paste the code and execute.
Back to Top
haddadin87 View Drop Down
Newbie
Newbie


Joined: 29 January 2006
Location: Jordan
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote haddadin87 Quote  Post ReplyReply Direct Link To This Post Posted: 08 February 2006 at 7:23pm
i think that this is very complicated for a newbie like me :D
 
is'nt there any way to change the value of a whole column records to 0 just from using the tool bar or menus.
 
thank you!
 
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 08 February 2006 at 9:16pm
Sure there is, but why easy when it can be hard...
Select the column, press CTRL+H and set as follows:
Click here
Back to Top
 Post Reply Post Reply Page  12>

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.