I am currently using the following bit of code to format System Uptime:
Convert(nvarchar(10),Ceiling(Floor(Convert(integer,tblAssets.Uptime) / 3600 /
24))) + ' d ' +
Convert(nvarchar(10),Ceiling(Floor(Convert(integer,tblAssets.Uptime) / 3600 %
24))) + ' hrs ' +
Convert(nvarchar(10),Ceiling(Floor(Convert(integer,tblAssets.Uptime) % 3600 /
60))) + ' mins ' As Uptime,
My question is, is there a way to have the report sort this column by the default
tblAssets.Uptime values when the header is clicked? Since I had to convert the ticks away from ints it seems to simply grab highest first digit, which can be very inaccurate. Any help is appreciated!