Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Populate List/Menu in Update Record form

New Here ,
Jun 14, 2006 Jun 14, 2006
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?
TOPICS
Server side applications
622
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 14, 2006 Jun 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/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 14, 2006 Jun 14, 2006
Brilliant,
Thanks for the quick reply
Works like a dream
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 14, 2006 Jun 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 14, 2006 Jun 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/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 14, 2006 Jun 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).
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 15, 2006 Jun 15, 2006
LATEST
Any suggestions?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines