Wrox Programmer Forums
|
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 10th, 2004, 06:06 PM
Authorized User
 
Join Date: Feb 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Updating Database CHAP14

Hi Imar
The last database connection was sorted as you told me .
now i have a problem updating Records .
the Error is the deleteEvents.asp whic is
' Open the connection
    objConnection.Open.
    everything is working well on this last

Thanks Imar

Adam

 
Old May 11th, 2004, 02:09 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Adam,

I am not sure I understand this post. You have a problem with the deleteEvents page and then what? Do you get an error? If so, what error? Does the page run at all?
Can you post some of the code, if you think that might help?

And how did you solve the previous problem? Was it a permissions issue?

Cheers,

Imar

---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: High speed by Coldplay (Track 8 from the album: Parachutes) What's This?
 
Old May 11th, 2004, 06:12 AM
Authorized User
 
Join Date: Feb 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar

1)I solved the problem (Database Connection)in the last post http://p2p.wrox.com/topic.asp?TOPIC_ID=12896 byt setting the permission access to IUSR_machineName for the database folder.
so was all about the permission issue as you told me to check .
but i have noticed that on the the Book of "the begenning dreamweaver mx " page 530 on the Add a second Recordset was named rsEvent and not rsEvents as at the end the page didnt work so i recreated it again but this time i named it rsEvents and from there all pages were runing .

Thanks for your patient

2)Regarding this Topic Updating Database i have just realised that i typed a wrong code connection.

i'm working with differant database connection string which is :


instead of typing the right code connection for my website(connweb) i typed the :

now i can delete and can update ..Silly me :D

Ohh Lots of connections :)

will get you drink once you in london :)

have a nice day Imar

Regards
Adam


 
Old May 11th, 2004, 06:29 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I just checked the book and I am not sure what you mean. In step 1 through 14, rsEvent is used (singular form, as only one event is updated at the same time). Step 15 through 17 use rsEvents because on showEvents.asp a list of (multiple) events is displayed.
Where did you mix the names? Is there an error in the book somewhere that I overlooked or did you mix up the names?
In the first case, can you let me know what and where it is incorrect?

Should have known about that drink offer. I was in London last week ;)

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old May 11th, 2004, 06:53 AM
Authorized User
 
Join Date: Feb 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello again

I believe you right i think i did a mistake when i had a connection problem that why i used the rsEvents ,but is it ok if i leave the rsEvents for the update page or do i have to change it ?
at the moment i can update 1 event at time and all pages are working .

let me know when next you in london

Regards

Adam

 
Old May 11th, 2004, 07:08 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

The actual name really doesn't matter. You could also name the recordset rsIRatherDrinkBeerThanProgramASP if you'd want. I have chosen the name rsEvent to indicate that the recordset is going to hold only one event on the Update page. The showEvents page will list multiple events, so the recordset on that page is called rsEvents.

What's important is how you defined the recordsets on the page. For the update page you should have a categories and an event recordset. If the page works as expected, I am sure the rest is fine as well.

Cheers,

Imar
 ---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
updating database musicradiolive Classic ASP Databases 1 August 17th, 2006 12:23 AM
Chap14 GetTimeSheet russconnor BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 1 June 29th, 2006 05:06 PM
Help for Updating the database bspradeep Classic ASP Databases 1 May 10th, 2005 03:13 AM
PHP5 Chap14 - Treemenu Example rj99 BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 0 August 25th, 2004 09:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.