Download presentation
Presentation is loading. Please wait.
Published byLeslie Richards Modified over 9 years ago
1
Forms - Populating radio buttons with info from a database Topping 1 > Extra Cheese
2
> Pepperoni > Sausage
4
check box with info from a database- Forms FRONTPAGE_ACCESS >
6
drop down menu with info from a database
7
<% ' DataConn.Open "DSN=System_DSN_Name" DataConn.Open "DBQ=" & Server.Mappath("_database/zipcodes.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};" SQL = "SELECT DISTINCT STATE_NAME FROM STATES" CmdPopulateStates.Open SQL, DataConn %> ">
9
This is just an example.. when doing this for real you would do a query to determine the existing values for all the form fields. For this example we will simply set a variable to the value for demonstration purposes.
10
<% ' DataConn.Open "DSN=System_DSN_Name" DataConn.Open "DBQ=" & Server.Mappath("_database/zipcodes.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};" SQL = "SELECT DISTINCT STATE_NAME FROM STATES" CmdPopulateStates.Open SQL, DataConn %> value=" ">
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.