Copy link to clipboard
Copied
First Post!
Just upgraded to CS4 and I'm starting to think it was a waste of money......
With Dreamweaver 8 I am able to have one asp VBscript page and have an insert form and an update form without any problems on the same page (separate forms and submit buttons), done it for years. However I have found that with CS4, I can no longer do this. It gives me Name Redefined errors. Is this a bug in CS4, or am I doing something wrong? I have not yet tried it in CS3.
Thanks for the help,
Chris
Copy link to clipboard
Copied
Dreamweaver can reach it's limits when trying to do more complex coding. What you are taking about is done all the time, use the same form and page for both inserting new records if no record ID is present and updating a record if there is. You simply contain your insert and update SQL and code within "IF" statements which determine which code to run. This sort of thing is usually over Dreamweaver's head - that is to be done with Server Behaviors" To do this you'll end up having to hand code.
Lawrence *Adobe Community Expert*
www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in ASP, PHP and CF
Copy link to clipboard
Copied
Thanks for your response. So, This type of thing doesn't work anymore with CS4? Like I mentioned, I've done it many times on many projects with MX2004 and v8 and not had to hand code anything dealing with the insert/update. I have one project that has one insert and 4 update forms on the same page with no problems at all in Dreamweaver 8. Same thing does not work at all in CS4. Not opposed to hand coding it, I just don't understand that functions or abilities are taken out of "Upgrades".
Thanks,
Chris