Hi to all..
I'd like to ask some help again, first : how to eliminate the redundant value in a query. I have query named product sold, the calculate works fine but then it will show redundant values. Like example:
Products Query Products Query Product ID Product Name Quantity UnitsReceived TotalReceived ProductSold RemainingProducts 6001 410 Silk
100 200
200 6001 410 Silk
100 200
200 6001 410 Silk
200
200 1001 BW Can Chicken & Rice 10 100 400 14 386 1001 BW Can Chicken & Rice 4 100 400 14 386 1001 BW Can Chicken & Rice 10 300 400 14 386 1001 BW Can Chicken & Rice 4 300 400 14 386 i want to eliminate the redundancy of data. its waste of space.
Second question is: how to use the DLook up function for 2 fields in one query.
AS of now my code in DLook up is like this:
strFilter = "ProductID = " & Me!ProductID
Me!ProductSold = Nz(DLookup("[ProductSold]", "Total Sold Query", strFilter), 0)
Im not good in explaining to be more precise, i've uploaded some sample data..Please take a look..
Thanks....
I'd like to ask some help again, first : how to eliminate the redundant value in a query. I have query named product sold, the calculate works fine but then it will show redundant values. Like example:
Products Query Products Query Product ID Product Name Quantity UnitsReceived TotalReceived ProductSold RemainingProducts 6001 410 Silk
100 200
200 6001 410 Silk
100 200
200 6001 410 Silk
200
200 1001 BW Can Chicken & Rice 10 100 400 14 386 1001 BW Can Chicken & Rice 4 100 400 14 386 1001 BW Can Chicken & Rice 10 300 400 14 386 1001 BW Can Chicken & Rice 4 300 400 14 386 i want to eliminate the redundancy of data. its waste of space.
Second question is: how to use the DLook up function for 2 fields in one query.
AS of now my code in DLook up is like this:
strFilter = "ProductID = " & Me!ProductID
Me!ProductSold = Nz(DLookup("[ProductSold]", "Total Sold Query", strFilter), 0)
Im not good in explaining to be more precise, i've uploaded some sample data..Please take a look..
Thanks....