HighDots Forums  

Dynamic Record Insert Field Selection

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Dynamic Record Insert Field Selection in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gwalt
 
Posts: n/a

Default Dynamic Record Insert Field Selection - 08-04-2004 , 09:19 AM






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


Reply With Quote
  #2  
Old   
Paul Whitham TMM
 
Posts: n/a

Default Re: Dynamic Record Insert Field Selection - 08-04-2004 , 06:54 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 (AT) macromedia (DOT) com> wrote

Quote:
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




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.