Mike Johnson
asked on
vbscript/ado question... using the Param "SortDirection"
what does the "value =-1" mean in the parameter value for "SortDirection"? the field type is boolean. I thought it should be either 1 or 0; for true or false.
see example below:
<object classid="clsid:BD96C556-65 A3-11D0-98 3A-00C04FC 29E33" height="1" id="dc" VIEWASTEXT>
<param NAME="ExecuteOptions" VALUE="2">
<param NAME="FetchOptions" VALUE="3">
<param NAME="SortDirection" VALUE="-1">
<param NAME="InternetTimeout" VALUE="300000">
</object>
see example below:
<object classid="clsid:BD96C556-65
<param NAME="ExecuteOptions" VALUE="2">
<param NAME="FetchOptions" VALUE="3">
<param NAME="SortDirection" VALUE="-1">
<param NAME="InternetTimeout" VALUE="300000">
</object>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASC and DESC (ascending and descending sorting)
+1 asc
-1 desc
not sure though