Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - addnew
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

addnew

 Post Reply Post Reply
Author
Charlie Goodwin View Drop Down
Newbie
Newbie


Joined: 06 June 2006
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Charlie Goodwin Quote  Post ReplyReply Direct Link To This Post Topic: addnew
    Posted: 17 June 2006 at 8:31am

I need to store more info on the database tables.

So I will need to add new fields to the table, in this case tblAuthor.
and Amend asp code to cater for the new fields.
 
I am about to start but I want to have a better idea of the addnew/update process.
 
For starters, where is the table specified?
I can see rscommon being created and the methods, addnew and update being invoked but I can't see where the table relating to rscommon is specified.
I mean,  how does SQL OLE DB know which table is being processed?
 
Your help would be appreciated
 
 
Back to Top
VBScript View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2004
Location: United Kingdom
Status: Offline
Points: 219
Post Options Post Options   Thanks (0) Thanks(0)   Quote VBScript Quote  Post ReplyReply Direct Link To This Post Posted: 17 June 2006 at 8:52am
If your on about adding rows to the database you may want to look at some of the tutorials on this site.

If you want to add new fields and tables to the database I would recommend looking at the Web Wiz Forums V7.X to V8 Migration tool
Back to Top
Charlie Goodwin View Drop Down
Newbie
Newbie


Joined: 06 June 2006
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Charlie Goodwin Quote  Post ReplyReply Direct Link To This Post Posted: 17 June 2006 at 9:10am
Got it!Smile
 
Open is the key method for stipulating the table.
Should have spotted it but there is a lot of code between opening the recordset and invoking the addnew method
 
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 17 June 2006 at 3:58pm
I prefer to add new tables rather than modify existing ones. Makes future upgrades a lot more straight forward.

Lead me not into temptation... I know the short cut, follow me.
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.