Hi,
I have this query in VBA:
Now the problem is that in case the outcome of Count([id])/2 is 6,5 Access seems to round this up to 7 +1 makes the final outcome 8
How can I play with rounding upwards and/or downwards ?
How should I write this to get 7 as final outcome ?
Thanks.
I have this query in VBA:
Code:
SELECT CInt(Count([id])/2+1) AS Aantal
FROM Wedstrijd
WHERE (((Year([Datum]))=Year(Now())) AND ((Wedstrijd.Datum)<=Now()));
How can I play with rounding upwards and/or downwards ?
How should I write this to get 7 as final outcome ?
Thanks.