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 January 26th, 2004, 07:13 AM
Authorized User
 
Join Date: Sep 2003
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default 'insert record' not available

Hi Imar

me again... made a start on the page to allow new users to sign up, but have hit a problem early on. I have Dreamweaver MX [not MX 2004] and under the Insert/Application Object menu I do not have an option for Insert Record/Insert Record. I have not been able to locate it elsewhere in the menus - is it only available in MX 2004?

thanks
Anne :)

 
Old January 26th, 2004, 07:47 AM
Authorized User
 
Join Date: Sep 2003
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

PS to above...

I have downloaded your code, since I could not find a way to access the 'insert records' application object. However, I am finding an error on running the page, as follows:

Error Type:
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/football_site/createNewUser.asp, line 49


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Page:
POST 80 bytes to /football_site/createNewUser.asp

POST Data:
txtUserName=admin&txtPassword=admin&btnSignUp=sign +up&MM_insert=frmCreateNewUser


line 49 of the code looks like this:

  MM_rsKey.ActiveConnection=MM_rsKeyConnection

which I know must be correct, since it was copied from your file!! Maybe I have omitted to make a change somewhere else?

Thanks for any advice
Anne

 
Old January 26th, 2004, 09:21 AM
Authorized User
 
Join Date: Sep 2003
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar... sorry, have just realised where I can find the 'insert record' - it is of course under Server Behaviors!

Everything seems to be working fine now :)

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

Yes, it is. However, it also *is* located under Application Objects. It just has a different name there: it's not called Insert Record on its own Insert Record menu, but it is called Record Insertion Form, just as we used in the Create Event part of the book.

Glad it worked out.

Imar



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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert where record doesn't already exist Neal SQL Server 2000 3 February 4th, 2008 10:09 AM
how Insert record into two tables mfarooqw ASP.NET 1.0 and 1.1 Basics 2 July 10th, 2007 05:38 PM
INSERT and get the record back? tal ADO.NET 1 June 29th, 2007 08:30 AM
Insert record disabled jking Access 9 January 10th, 2006 04:31 PM
Insert new Record priority05 Classic ASP Databases 2 September 6th, 2004 12:26 PM





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