Hi all been a little while
so I have a report "RptStockLocation" based on a qry "QryLocationReport" nothing fancy ,, its a list of products has in stock filtered by a stock physical location.
The locations are preset in the inventory table such as "shop front" "warehouse" "Upstairs" and so on....
also on that report I have some dlookup fields ,,,
these are
allocated - which shows the sum of the stock where order status is paid but not delivered for example,, currently allocated returns a number eg 2 or 3
sold - same as above all the orders where the sold items is marked as paid and delivered returns the total eg 2 or 3 ...
and finally I have a field called available stock , which is a calculated field base on the dlookups previous and some others and returns the qty of stock available for resale.
it does all work!!!! but the dlookups are slow and sometimes return a error if I try to rush into the field to soon.
my attempt to fix it ....
i tried to post the entire "QryLocationReport" qry to a new "HOLDING" table and then update that table with a update qry posting the dlookup values without opening the report so I could then bring the report up based on the new table but I cannot seem to get the dlookups values into the new table I just get 0's
any questions I'm happy to answer where I can and any help would be fantastic .
so I have a report "RptStockLocation" based on a qry "QryLocationReport" nothing fancy ,, its a list of products has in stock filtered by a stock physical location.
The locations are preset in the inventory table such as "shop front" "warehouse" "Upstairs" and so on....
also on that report I have some dlookup fields ,,,
these are
allocated - which shows the sum of the stock where order status is paid but not delivered for example,, currently allocated returns a number eg 2 or 3
sold - same as above all the orders where the sold items is marked as paid and delivered returns the total eg 2 or 3 ...
and finally I have a field called available stock , which is a calculated field base on the dlookups previous and some others and returns the qty of stock available for resale.
it does all work!!!! but the dlookups are slow and sometimes return a error if I try to rush into the field to soon.
my attempt to fix it ....
i tried to post the entire "QryLocationReport" qry to a new "HOLDING" table and then update that table with a update qry posting the dlookup values without opening the report so I could then bring the report up based on the new table but I cannot seem to get the dlookups values into the new table I just get 0's
any questions I'm happy to answer where I can and any help would be fantastic .