12,953,865 members (44,336 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Good day to all of you.

I would like to ask if someone knows an idea to solve my problem, i am dealing with this for almost a week and i still don't get what i want to achieve.

Here it is, First I have table "Product_Inventory" where it has the ff fields:

```secret_code
inv_date
inv_pro_category
inv_pro_sub_category
inv_pro_code
inv_pro_name
inv_beg
inv_pur_ref
inv_pur_ret
inv_dam
inv_sal_rel
inv_sal_ret
inv_ending
inv_actual```

Example date screen shots here: https://dl.dropbox.com/u/65392916/Product_Inventory.png

This is the result output from crystal report: https://dl.dropbox.com/u/65392916/Report.png

Where beginning inventory should not be 53 when i set the date range from Nov 15, 2012 to Nov, 17, 2012

What happens is that crystal report summarized all beg inventory from nov 15 to nov 17. Inv_beg should start from the beginning of date range "Nov 15, 2012" = 25 pcs

Hope someone can understand me and help. thanks a lot in advance hope to hear from you soon
Posted 14-Nov-12 8:34am
JMAM669
Comments
VitorHugoGarcia 15-Nov-12 12:32pm

whats your record selection formula ?
JMAM 21-Nov-12 7:19am

I don't have record selection formula
ChandraRam 22-Nov-12 9:32am

How are you calculating the "starting inventory"?
JMAM 22-Nov-12 9:46am

I am getting the starting inventory based on the last transaction day ending inventory.
For instance if i made transactions from Nov 1, 2012 to Nov 30, 2012 thus i generate a report from November 15, 2012 to November 30, 2012 All products beginning inventory should come from the last ending inventory before the date range "From"

So November 15, 2012 Starting Inventory shall come from Vovember 14, 2012 ending inventory

## 1 solution

Rate this:
Please Sign up or sign in to vote.

## Solution 1

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Top Experts
Last 24hrsThis month
 ppolymorphe 100 OriginalGriff 95 RickZeeland 60 Dave Kreskowiak 40 Bryian Tan 30
 OriginalGriff 6,464 CHill60 3,490 Maciej Los 3,123 ppolymorphe 2,020 Jochen Arndt 1,975

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 31 Oct 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100