M
Mia
Hi,
I need to calculate a field INVENTORY in a query based on a couple of
table fields SALES and PURCHASES and previous record's INVENTORY field
that I just calculated. Confusing? Basically,
inventory_calculated : inventory_calculated_previous + purchases -
sales.
I've achieved something similar using DLookup and [Autonumber - 1],
only the DLookup was looking up a table value.
I suspect it might be impossible to do it since it creates a crazy
circular reference. I can't do a subquery either.
A coupla routes I was considering:
1) A field in a table called INVENTORY with a form field bound to it -
form field's default value is all above calculations. Once you hit
enter on the form field, it should punch in the claculated value in the
table field, right?
2) It's QUITE EASILY in Excel
Just reference a cel above, and you're
done. Is there a way to integrate Excel? ... Not likely
Got any ideas?
Thank you in advance!
MY
I need to calculate a field INVENTORY in a query based on a couple of
table fields SALES and PURCHASES and previous record's INVENTORY field
that I just calculated. Confusing? Basically,
inventory_calculated : inventory_calculated_previous + purchases -
sales.
I've achieved something similar using DLookup and [Autonumber - 1],
only the DLookup was looking up a table value.
I suspect it might be impossible to do it since it creates a crazy
circular reference. I can't do a subquery either.
A coupla routes I was considering:
1) A field in a table called INVENTORY with a form field bound to it -
form field's default value is all above calculations. Once you hit
enter on the form field, it should punch in the claculated value in the
table field, right?
2) It's QUITE EASILY in Excel
done. Is there a way to integrate Excel? ... Not likely
Got any ideas?
Thank you in advance!
MY