Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fill a 'Form' ComboBox using a Recordset

Status
Not open for further replies.

solo7

Technical User
Mar 14, 2001
243
NO
My code (below) is working fine, and gives me the values I need;

Code:
'Loop through the recordset
'
Do While not rsPeriods.EOF
'Write the HTML to display the current record in the recordset
     Response.Write ("<br>")
     Response.Write (rsPeriods("Fld_Periods"))
'Move to the next record in the recordset
     rsPeriods.MoveNext
Loop

but I now need to put the values in the recordset into a 'Form' item - a combobox. Then I want to use the 'POST' method to pass the user selection into another VBScript to perform a second action.
Can anyone help please?

solo7 [thumbsup2]
 
Hello solo7,

I think then you would have make the inline script with Response.write creating the form objects and elements with rsPeriods("Fld_Periods") filled in at load time. Maybe that's to vague, but that's the idea.

regards - tsuji
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top