Learn Microsoft Access Advanced Programming Techniques, Tips and Tricks.

amend change asp

<html>
<head>
<title>Change category</title>
</head>
<body bgcolor='"#FFFFFF"' text='"#000000"'>
<%
Dim rst
Set rst = Server.CreateObject("ADODB.Recordset")
Dim strSQL
Dim varList
varList = Request.QueryString("ProdCats")
strSQL = "SELECT CategoryName, Description, CategoryID "
strSQL = strSQL & "From Categories WHERE CategoryID = " & varList
rst.Open strSQL, "DSN=NorthWindDSN"
%>
<p>This record is available for updating.</p>
<hr />
<form name="frmCategory" method="post" action="amend.asp">
<input type="hidden" name="txtID" value="<%=rst("CategoryID")%>" />
<p><b>Category</b></p>
<input type="text" name="txtCategory" value="<%=rst("CategoryName")%>" />
<p><b>Description</b></p>
<textarea name="txtDescription" cols="25" rows="15" />
<%=rst("Description")%>
</textarea>
<input type="submit" name="Submit" value="Change" />
</form>
</body>
</html>

Click Next for amend.asp

Share:

No comments:

Post a Comment

Translate



PageRank
Your email address:

Delivered by FeedBurner

Search

Popular Posts

Search This Blog

Blog Archive

Powered by Blogger.

Labels

Forms How Tos Functions MS-Access Security Reports msaccess forms Animations msaccess animation Utilities msaccess controls Access and Internet MS-Access Scurity MS-Access and Internet Queries External Links msaccess reports msaccess tips Accesstips Menus and Toolbars Array MsaccessLinks Process Controls Art Work Downloads msaccess How Tos Graph Charts msaccessQuery Class Module List Boxes Property Combo Boxes Command Buttons Emails and Alerts Query VBA Calculation Custom Wizards DOS Commands Data Data Type Objects ms-access functions msaccess functions msaccess graphs msaccess reporttricks msaccessprocess security advanced Access Security Collection Object Custom Functions Field Type Form Macros Menus Object Reference Report Top Values Variables msaccess email msaccess menus progressmeter Access2007 Auto-Number Command Button Controls Copy Expression Fields Form Instances Join Methods Microsoft Numbering System Records Recordset Security Split SubForm Table Utility Workgroup database msaccess wizards Access2003 Accounting Year Action Animation Attachment Binary Numbers Bookmarks Budgeting ChDir Color Palette Conditional Formatting Data Filtering Defining Pages Diagram Disk Dynamic Lookup Error Handler Excel Export External Filter Formatting Groups Hexadecimal Numbers Import Labels List Logo Macro Mail Merge Main Form Memo Monitoring Octal Numbers Operating System Paste Primary-Key Product Rank Reading Rich Text Sequence SetFocus Summary Tab-Page Tables Time Difference Union Query User Users Water-Mark Word Wrapper Classes automatically commands function hyperlinks iSeries Date iif ms-access msaccess msaccess alerts pdf files reference restore switch text toolbar tutorial updating upload vba code

Featured Post

Table Records in Collection Object and Form

Data records from a Table will be Add ed as the Collection Object Items and Description field values goes into the Collection Object as Ke...

Labels

Blog Archive

Recent Posts