HighDots Forums  

dynamic list/menu

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss dynamic list/menu in the Macromedia Dreamweaver forum.



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

Default dynamic list/menu - 07-21-2004 , 05:38 PM






I would greatly appreciate any advise on this. Thanks
I'm using access tables and .asp.
a list of catagories is kept in one table, in which a dynamic list/menu box connects to to give your choices.
The current catagory is inserted and kept in another table (with other information). I need the initial value of the list/menu box
to be the current catagory.
Does anyone know how i can get the list/menu box to have the values of one recordset and the initial value of another recordset.
or you if you could direct me to a good tut.
thanks.



Reply With Quote
  #2  
Old   
~Angela, TMM
 
Posts: n/a

Default Re: dynamic list/menu - 07-21-2004 , 06:08 PM






Hello jjrmy,

1. Create a recordset just for the purpose of populating the list. (Don't
actually add it to the list yet.) rsMyList

2. Create the recordset used for display on the page. rsMyData

3. Set up the page to display the data. (Still don't add the data to the
list menu yet).

4. Click the list menu in Design view and then click the Dynamic button on
the Property inspector.

5. Options from recordset should be set to the recordset for populating the
menu. Set the Values and Labels fields accordingly. The key is, set the
Select value equal to the appropriate field in rsMyData. To do so, click the
lightening bolt, and choose the field in the dialog that appears.

That's it!

Good luck,
~Angela
--
Angela C. Buraglia, Founder:
~FAQs, Tutorials & Resources~ http://www.DreamweaverFAQ.com
~My Extensions~ http://www.dwfaq.com/go.asp?ID=AngelaX10
DWfaq Support Newsgroup: news://support.dwfaq.com/support

Co-Author with Joseph Lowery, Dreamweaver MX 2004 Killer Tips:
http://www.dwkillertips.com

Extension Developer for Cartweaver 2:
http://www.cartweaver.com/features/extensionsuite/

Remove the CAPS in my E-mail to reply off list.


"jjrmy1" <jjrmy1 (AT) earthlink (DOT) net> wrote

Quote:
I would greatly appreciate any advise on this. Thanks
I'm using access tables and .asp.
a list of catagories is kept in one table, in which a dynamic list/menu
box connects to to give your choices.
The current catagory is inserted and kept in another table (with other
information). I need the initial value of the list/menu box
to be the current catagory.
Does anyone know how i can get the list/menu box to have the values of one
recordset and the initial value of another recordset.
or you if you could direct me to a good tut.
thanks.





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.