Hi
I have created a 'stock database' for yarns.
I have a table of yarns with a connected table where I can assign a colour and an initial stock amount.
I have then three tables with stock adjustments - an In table, a Sales table and a general Out table. For these three tables I have created individual queries with a running total for all yarns/colours.
Finally I have created a query to show - Yarn, Colour, Initial Stock, In, Sales, Out, and a calculated field (Initial stock + In - Sales - Out) to give me current stock position.
I have also set the criteria of the calculated field to <>0 so it doesn't show zeros.
It all seemed to be working well until I started getting amounts like -8.88178419700125E-16 in the calculated field and I can't work out why or how to not have them displayed.
Any help much appreciated
I have created a 'stock database' for yarns.
I have a table of yarns with a connected table where I can assign a colour and an initial stock amount.
I have then three tables with stock adjustments - an In table, a Sales table and a general Out table. For these three tables I have created individual queries with a running total for all yarns/colours.
Finally I have created a query to show - Yarn, Colour, Initial Stock, In, Sales, Out, and a calculated field (Initial stock + In - Sales - Out) to give me current stock position.
I have also set the criteria of the calculated field to <>0 so it doesn't show zeros.
It all seemed to be working well until I started getting amounts like -8.88178419700125E-16 in the calculated field and I can't work out why or how to not have them displayed.
Any help much appreciated