Dynamic Form Field Capture
This code will caputre all fields in an HTML form and create a template for a VBScript function that passes the fields to a stored procedure.
Original Author: Scott King
Assumptions
To use this file: Set the action on your form to point to this file.
You will then get a formatted list to process your form in VBScript and
a matching SQL Stored Procedure field list. Ex: action="get_fields.asp" target=_blank
Warning: You should have your form fields named the same as your database
fields or this script won't really work for you... Have Fun!
Code
<%@Language="VBScript"%>
To use this file: Set the action on your form to point to this file.
You will then get a formatted list to process your form in VBScript and
a matching SQL Stored Procedure field list. Ex: action="get_fields.asp" target=_blank
Warning: You should have your form fields named the same as your database
fields or this script won't really work for you... Have Fun!
VBScript Form Fields.....
SQL Stored Procedure Fields.....
SQL Stored Procedure Update Fields.....
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.