Question : Crosstab Query To Excel - Number Format

See the SQL below for the crosstab query. When I "Analyze With Excel" the spreadsheet looks fine except the Sum in Excel adds two decimal places even though I have the field formatted as Standard and no decimal places.

Is there a way to modify the SQL statement so that the Sum will not have decimal places? I am a SQL novice.
1:
2:
3:
4:
5:
6:
7:
TRANSFORM Sum(tblCombination.Lbs) AS SumOfSumOfLbs
SELECT qryPartThreePivot.CustomerName
FROM qryPartThreePivot LEFT JOIN tblCombination ON (qryPartThreePivot.CustomerName = tblCombination.CustomerName) AND (qryPartThreePivot.MaxOfReportDate = tblCombination.ReportDate)
GROUP BY qryPartThreePivot.CustomerName
ORDER BY qryPartThreePivot.CustomerName, qryPartThreePivot.Sort
PIVOT qryPartThreePivot.Sort
WITH OWNERACCESS OPTION;

Answer : Crosstab Query To Excel - Number Format

The /oobe switch is why the Welcome screen is starting.  Does the computer ask for all the information that is answered in the sysprep.xml file?  For example, if you create a user account before sysprep, does it still exist after deployment to your VPC?

Also, do you activate windows before you sysprep?  You can run into problems with the rearm count for windows activation.
Random Solutions  
 
programming4us programming4us