I am currently using the dsum function to add some fields together given certain criteria. The issue im comining across is this: when the dsum function operates, it automatically rounds the final number. The fields settings are as follows:
Data Type: Number
field size: Single
decimal places: 2
the code looks like this:
HRa= Dsum ("[Hours Requested]","TableName", "[fieldname1] = '" & VariableCriteria &"' and [fieldname2] = '" & Variable Criteria & "'")
(I left out the actually field and table names because the might be consider sensitive information, better safe than sorry!)
the number should come out either as a whole number, x.5, x.25 or x.75, however all i get is a rounded whole number... any help?