Helping ordinary people create extraordinary websites!

Go Back   Web Development Forum > Website Management > Scripts and Software
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-01-2007, 10:08 AM
Junior Member
 
Join Date: Mar 2007
Posts: 1
Default Drop Down List Question

I am using Microsoft's Expression Web program and have the following problem/question.

I have a web page (saved as an .asp extension) that has a drop down list. In the drop down list, I have populated 4 entries, with a corresponding "value" for each entry.

From reviewing the online documentation, it appears as though it should be relatively simple to extract the "value" of the selected item from the drop down list, and then move that value to somewhere else, i.e., another text field on the same web page.

I am making the following assumptions:

1. I want to call a VBA script that will accomplish that whenever the drop down list fires a "change" event. The call I seem to know how to accomplish.
2. The VBA script needs to retrieve the value corresponding to the selected item, and then move it to a text control on the same form (web page). This I don't know how to write, although I am proficient in Visual Basic 6.0.
3. I'm need to use the web page I have developed, not a user form from within VBA.
4. Presume the drop down list control is named: BB_Style and the name of the control in which I want to place the "value" is SKU_Style. The web page form name is BB_DirectOrder.

My first question is, what does that VBA code look like to accomplish this? I have exhausted all the online documentation I can locate, and while there are many references to events and properties relating to this, there is no place that seems to show a working example.

My second question is, how do you reference a control, e.g., a text field on a web page within a VBA script? In VB 6.0, you would reference the form name with a dot (.) and the field name. This doesn't seem to work the same way in VBA and Expression Web.

A long post, but I would greatly appreciate any help that can be offered.

Thanks,
Coop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about transferring DVDs to video iPods topolina Forum Members Lounge 9 01-15-2008 01:28 PM
Need advice...(selling a website question) md_doc Graphics and Multimedia 1 01-14-2008 04:28 PM
drop down menu using asp.net and vb skat Server-Side Scripting 4 01-04-2008 06:08 PM
Looking for free directory list of higher than 5 page rank ? tapan Search Engine Optimization 1 05-18-2007 08:41 AM


All times are GMT -5. The time now is 11:56 PM.


Website Design by Ducani Media Group
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.