Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Changing the cell value in database
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Changing the cell value in database

 Post Reply Post Reply
Author
mantey View Drop Down
Groupie
Groupie
Avatar

Joined: 03 May 2005
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mantey Quote  Post ReplyReply Direct Link To This Post Topic: Changing the cell value in database
    Posted: 14 November 2005 at 7:59am

I want to change the value of the partuicular field in database. How can I do that using some sort of script.

E.g If I have MS Access database (let's say Addresses.mdb) and inside a table with 3 columns and 3 rows. The table name is tblNames.

Eg.

tblNames

FIELD 1 (Name)

FILED 2 (Name ID)

FILED 3 (Group ID)

Jason

1

4

Jane

2

2

Jill

3

7

 

I want to change Jane's group ID number from 2 to 5 using asp script.

 

tblNames

FIELD 1 (Name)

FILED 2 (Name_ID)

FILED 3 (Group_ID)

Jason

1

4

Jane

2

5

Jill

3

7

How to achieve that.

I want to use some sort of form with, let's say two fields: One filed to type in a Name ID (which is unique), and other input filed to put the new group ID.

Example:

     Name id: ____________, New Group_id:_________ SUBMIT

 Note: (lines represent input fields, SUBMIT represents Submit button)

  

Does anyone know, how to do that? What is the script?

Please, help.


Edited by mantey - 14 November 2005 at 8:06am
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 14 November 2005 at 1:47pm
If you don't really know how to do that, then someone telling you how isn't going to help because you'll have the same problem next time.

Check out this sites ASP tutorials, they are really good and should help you learn.
Back to Top
mantey View Drop Down
Groupie
Groupie
Avatar

Joined: 03 May 2005
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mantey Quote  Post ReplyReply Direct Link To This Post Posted: 14 November 2005 at 2:06pm
I realised that this can be solved by using Database Tool, Database and Table Editor. I will ask question in the database forum.
Back to Top
mantey View Drop Down
Groupie
Groupie
Avatar

Joined: 03 May 2005
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mantey Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2005 at 5:52pm
I just want to say that borg's (Bruce's) database tutorial is really good and it helped me to create wanted script.
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.