Forums
This topic is locked
Multiple updates on one page!? Need help...
Posted 20 Apr 2001 10:27:55
1
has voted
20 Apr 2001 10:27:55 Rico Laursen posted:
Hi!I have a page where I have 4 forms, each form has a unique name.
Inside each form I have one textfields and one button. Each textfield and
button, have a unique name.
Let's say I want to add the update-behavior to form 1. That seems to work
alright.
But I can't add the update-behavior to form 2,3,4 because I get the
following error
"Cannot add another "update record" server behavior. Each page is limited to
one."
Is there a way to get around this!?
Excuse my danish-english.... :-)
Thanks
Rico ( )
"Yesterday is history. Tomorrow is a mystery. And today? Today is a gift. That's why we call it The Present."
Replies
Replied 20 Apr 2001 12:37:59
20 Apr 2001 12:37:59 Waldo Smeets replied:
What you want is not possible in ultradev at the moment, I think it needs hand coding to do what you want. But I have never done it myself.
Do the 4 forms have the same structure and are they being inserted into the same columns of the same table? Then you can try to give all the forms the same name... maybe it works then. But that's only possible when the form fields all have the same functionality.
What's the concept of the page that you need 4 forms with update buttons? Are you sure that 1 form with 4 entries and only 1 submit button will not do the job?
You should take a look at Multiple Insert/Update at the following page: charon.co.uk/UltradevDownloads_UD4.asp
Sorry, that's all I can come up with <img src=icon_smile_sad.gif border=0 align=middle>.
Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------
Do the 4 forms have the same structure and are they being inserted into the same columns of the same table? Then you can try to give all the forms the same name... maybe it works then. But that's only possible when the form fields all have the same functionality.
What's the concept of the page that you need 4 forms with update buttons? Are you sure that 1 form with 4 entries and only 1 submit button will not do the job?
You should take a look at Multiple Insert/Update at the following page: charon.co.uk/UltradevDownloads_UD4.asp
Sorry, that's all I can come up with <img src=icon_smile_sad.gif border=0 align=middle>.
Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------
Replied 20 Apr 2001 13:00:28
20 Apr 2001 13:00:28 Rico Laursen replied:
Hi Waldo!
Thanks for your reply!
the 4 forms all have the same structure (1 textfield and 1 button), but they are each connected to different tables eg.
form1 = tabel1
form2 = tabel2 and so on.
What i'm gonna use it for!? Well, i'm making a admin page, where I want the admin to be able to update the 4 tables from one page - because they are all in the same categori...hope it makes sense to..!? :-)
By the way - thanks for the link.
Cheers
Rico
"Yesterday is history. Tomorrow is a mystery. And today? Today is a gift. That's why we call it The Present."
Thanks for your reply!
the 4 forms all have the same structure (1 textfield and 1 button), but they are each connected to different tables eg.
form1 = tabel1
form2 = tabel2 and so on.
What i'm gonna use it for!? Well, i'm making a admin page, where I want the admin to be able to update the 4 tables from one page - because they are all in the same categori...hope it makes sense to..!? :-)
By the way - thanks for the link.
Cheers
Rico
"Yesterday is history. Tomorrow is a mystery. And today? Today is a gift. That's why we call it The Present."
Replied 20 Apr 2001 13:02:40
20 Apr 2001 13:02:40 Waldo Smeets replied:
In that case maybe the Update Multiple Tables demo is more interesting to you. it's at the same page.
Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------
Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------