Latest web development tutorials
 

ADO Size Property


< Complete Parameter Object Reference

The Size property sets or returns a long value that indicates the maximum size in bytes or characters of a value in a Parameter object.

Syntax

objparameter.Size

Example

<%
set comm=Server.CreateObject("ADODB.Command")
set para=Server.CreateObject("ADODB.Parameter")

para.Type=adVarChar
para.Size=25
para.Direction=adParamInput
para.Value=varfname

comm.Parameters.Append para
%>

< Complete Parameter Object Reference