This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > Dynamic Record Insert Field Selection





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Dynamic Record Insert Field Selection
gwalt

2004-08-04, 12:16 pm

Problem: I would like to allow a user to select which field (column) to update
within a given record. I was thinking about creating a unique record insert
for each field within the record using a toggle and conditional region.
However, Dreamweaver only allows one record insert server behavior on a page.
My plan calls for 10.

Is there a way to dynamically determine which field (column) is updated by the
insert record server behavior (maybe a toggle that changes the field selection
within a single record insert server behavior).

Thx,
Mark

Paul Whitham TMM

2004-08-04, 11:14 pm

Depending upon the server model used I would suggest that you look at hand
coding the insert statement and not let DW write it for you. That way you
could dynamically write the actual statement based on what you need to pass.
If you are working in ASP has a look at www.asp101.com for some sample
insert code.


--
Regards

Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
www.valleybiz.net

Team Macromedia Volunteer for Ultradev/Dreamweaver MX
www.macromedia.com/support/forums/team_macromedia

"gwalt" <webforumsuser@macromedia.com> wrote in message
news:ceqnpe$c93$1@forums.macromedia.com...
> Problem: I would like to allow a user to select which field (column) to

update
> within a given record. I was thinking about creating a unique record

insert
> for each field within the record using a toggle and conditional region.
> However, Dreamweaver only allows one record insert server behavior on a

page.
> My plan calls for 10.
>
> Is there a way to dynamically determine which field (column) is updated

by the
> insert record server behavior (maybe a toggle that changes the field

selection
> within a single record insert server behavior).
>
> Thx,
> Mark
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews