Skip to content

Tag: ms-access

sql select group by int()

I want to get int using this query: “SELECT int(Abs(x1-x2)+0.5) AS len, Count(*) AS num FROM Coordinates GROUP BY int(Abs(x1-x2)+0.5) ORDER BY int(Abs(x1-x2)+0.5) ASC;”; int …

Running total in Access Query based on item and date

I’m struggling with an Access Query trying to create a calculated field which presents a running total of parts that have gone or returned in the store; sorted in the order of date in one table. The table “DMPartsT” would look like below: The result I am aiming for is for the query to return…