0
Populate List/Menu in Update Record form
New Here
,
/t5/dreamweaver-discussions/populate-list-menu-in-update-record-form/td-p/477455
Jun 14, 2006
Jun 14, 2006
Copy link to clipboard
Copied
I am creating an update record form that contains a list/menu
(with values General, 2002, 2004, 2006)
How do I populate this menu so that it pulls current value from database, and not just the top default value each time?
How do I populate this menu so that it pulls current value from database, and not just the top default value each time?
TOPICS
Server side applications
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/populate-list-menu-in-update-record-form/m-p/477456#M188431
Jun 14, 2006
Jun 14, 2006
Copy link to clipboard
Copied
Swn-Y-Mor wrote:
> I am creating an update record form that contains a list/menu (with values
> General, 2002, 2004, 2006)
>
> How do I populate this menu so that it pulls current value from database, and
> not just the top default value each time?
Select the menu object in the form. Then click the Dynamic button in the
Property Inspector. In the dialog box that opens, click the lightning
bolt next to Select value equal to. Finally, choose the data field from
the correct recordset.
--
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/
> I am creating an update record form that contains a list/menu (with values
> General, 2002, 2004, 2006)
>
> How do I populate this menu so that it pulls current value from database, and
> not just the top default value each time?
Select the menu object in the form. Then click the Dynamic button in the
Property Inspector. In the dialog box that opens, click the lightning
bolt next to Select value equal to. Finally, choose the data field from
the correct recordset.
--
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Swn-Y-Mor
AUTHOR
New Here
,
/t5/dreamweaver-discussions/populate-list-menu-in-update-record-form/m-p/477457#M188432
Jun 14, 2006
Jun 14, 2006
Copy link to clipboard
Copied
Brilliant,
Thanks for the quick reply
Works like a dream
Thanks for the quick reply
Works like a dream
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Swn-Y-Mor
AUTHOR
New Here
,
/t5/dreamweaver-discussions/populate-list-menu-in-update-record-form/m-p/477458#M188433
Jun 14, 2006
Jun 14, 2006
Copy link to clipboard
Copied
Whoops - spoke too soon,
My update form displays correct drop down value, but when I submit the update it inserts a blank value into my field
My update form displays correct drop down value, but when I submit the update it inserts a blank value into my field
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/populate-list-menu-in-update-record-form/m-p/477459#M188434
Jun 14, 2006
Jun 14, 2006
Copy link to clipboard
Copied
Swn-Y-Mor wrote:
> Whoops - spoke too soon,
> My update form displays correct drop down value, but when I submit the update it inserts a blank value into my field
That's got nothing to do with selecting the correct value in the first
place. There's something wrong with the way you have set up the Update
Record server behavior.
--
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/
> Whoops - spoke too soon,
> My update form displays correct drop down value, but when I submit the update it inserts a blank value into my field
That's got nothing to do with selecting the correct value in the first
place. There's something wrong with the way you have set up the Update
Record server behavior.
--
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Swn-Y-Mor
AUTHOR
New Here
,
/t5/dreamweaver-discussions/populate-list-menu-in-update-record-form/m-p/477460#M188435
Jun 14, 2006
Jun 14, 2006
Copy link to clipboard
Copied
OK,
Got the list to populate dynamically, although I have an issue with my "update record" page. For some reason, any dynamic list/menu that I add, the record ID shows up as one of the options (at the bottom of the list).
Got the list to populate dynamically, although I have an issue with my "update record" page. For some reason, any dynamic list/menu that I add, the record ID shows up as one of the options (at the bottom of the list).
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Swn-Y-Mor
AUTHOR
New Here
,
LATEST
/t5/dreamweaver-discussions/populate-list-menu-in-update-record-form/m-p/477461#M188436
Jun 15, 2006
Jun 15, 2006
Copy link to clipboard
Copied
Any suggestions?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

