Skip to main content
Participant
June 14, 2006
Question

Populate List/Menu in Update Record form

  • June 14, 2006
  • 6 replies
  • 644 views
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?
This topic has been closed for replies.

6 replies

Swn-Y-MorAuthor
Participant
June 15, 2006
Any suggestions?
Swn-Y-MorAuthor
Participant
June 14, 2006
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).
Inspiring
June 14, 2006
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/
Swn-Y-MorAuthor
Participant
June 14, 2006
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
Swn-Y-MorAuthor
Participant
June 14, 2006
Brilliant,
Thanks for the quick reply
Works like a dream
Inspiring
June 14, 2006
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/