Hello
My fish database is almost complete now, but this glitch has been bugging me from day 1.
I have a main fish form "frm Fish enter"
That form has 2 subforms, "frm Purchases enter" and "frm Deaths enter"
In the main form, I have a field called "housed", which calculates how many fish the user has of this particular species, by adding taking the total number of deaths from the total number of purchases.
This is done using this formula/expression or whatever you call it:
That works great, and I am very happy with it, except one thing...
I have a report which lists all the fish the user has...but I cannot put how many fish there are, as the automatically calculated value I was talking about isn't saved to a table.
Is there are way to make the calculated value save itself to a table (tbl fish) each time the form is closed or something? Or is there a better way round this problem?
Thanks very much for any help you can offer.
My fish database is almost complete now, but this glitch has been bugging me from day 1.
I have a main fish form "frm Fish enter"
That form has 2 subforms, "frm Purchases enter" and "frm Deaths enter"
In the main form, I have a field called "housed", which calculates how many fish the user has of this particular species, by adding taking the total number of deaths from the total number of purchases.
This is done using this formula/expression or whatever you call it:
Code:
=Nz([Purchases].Form!purchasestotal,0)-Nz([frm Deaths].Form!deathstotal,0)
That works great, and I am very happy with it, except one thing...
I have a report which lists all the fish the user has...but I cannot put how many fish there are, as the automatically calculated value I was talking about isn't saved to a table.
Is there are way to make the calculated value save itself to a table (tbl fish) each time the form is closed or something? Or is there a better way round this problem?
Thanks very much for any help you can offer.