Link to home
Start Free TrialLog in
Avatar of Mike Johnson
Mike JohnsonFlag for United States of America

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-65A3-11D0-983A-00C04FC29E33" 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>      
Avatar of php-webdesign
php-webdesign

maybe like with mysql...

ASC and DESC (ascending and descending sorting)

+1 asc
-1 desc

not sure though
ASKER CERTIFIED SOLUTION
Avatar of willcode4coffee
willcode4coffee

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial