Presentation is loading. Please wait.

Presentation is loading. Please wait.

Forms - Populating radio buttons with info from a database Topping 1 > Extra Cheese.

Similar presentations


Presentation on theme: "Forms - Populating radio buttons with info from a database Topping 1 > Extra Cheese."— Presentation transcript:

1 Forms - Populating radio buttons with info from a database Topping 1 > Extra Cheese

2 > Pepperoni > Sausage

3

4 check box with info from a database- Forms FRONTPAGE_ACCESS >

5

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 %> ">

8

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=" ">

11


Download ppt "Forms - Populating radio buttons with info from a database Topping 1 > Extra Cheese."

Similar presentations


Ads by Google