Forms - Populating radio buttons with info from a database Topping 1 > Extra Cheese
> Pepperoni > Sausage
check box with info from a database- Forms FRONTPAGE_ACCESS >
drop down menu with info from a database
<% ' 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 %> ">
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.
<% ' 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=" ">