Dreamweaver MX ASP Tutorials Macromedia Dreamweaver MX

Create a Modify User Page - Step II

11. Open the doModify.asp page.

12. Change the heading on the page to Modify User.

13. Click on the (+) sign in the Bindings Panel (CTRL + F10) and select Recordset(Query) and use the following settings in the Recordset window. Click OK.

Recordset

NOTE: What you just did is create a recordset that is filtered by the UserID that is passed as a URL parameter.

14. Click below Modify User and then click Insert > Application Objects > Record Update Form. Use the following settings in the Record Update Form window. Be sure to click on the UserID column and then the (-) sign to delete that column. It is the Primary Key for the table and is set to AutoNumber. Also click on each column and change the Label. Click OK.

15. In the table that was created, click in each cell in the left hand column and then right-click on the <td> in the bottom of the Design View window and select Set Class > tblData.

16. Click on the form button, and then in the Property Inspector, change the Label to Update User.

17. Click below the form and type Backside Menu.

18. Highlight Backside Menu and then click on the folder icon next to Link in the Property Inspector and click on the backsideMenu.asp page.

19. Save the doModify.asp page and close it.

20. Open the backsideMenu.asp page.

21. Add a link to the modifyUser.asp page by typing Modify User, highlighting it, and clicking on the folder icon next to the Link box of the Property Inspector and selecting the modifyUser.asp page.

22. Save the backsideMenu.asp page and close it.

That is all there is to creating a User Update page in MX.

Click here for an example page.