Results 1 to 4 of 4
  1. #1
    pritesharyan is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2015
    Location
    India
    Posts
    32

    Query for maintaining Stock of Product

    I am trying to create stock query to maintain stock of my product, following image shows my table structure and what i have tried.
    Click image for larger version. 

Name:	Table structure new.jpg 
Views:	8 
Size:	95.2 KB 
ID:	20379
    My Query Result in this image which is not i trying to get:
    Click image for larger version. 

Name:	query result.jpg 
Views:	8 
Size:	82.4 KB 
ID:	20377


    what i am trying to do is.


    (1) How much Quantity of perticular product i have purchased?
    (2) How much Quantity of perticular product i have Sold?
    (3) How much Quantity of perticular product i have in my hand(in stock)?
    what does i doing wrong pelase guid me.

    Download ACCESS DATABASE

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    Try creating another column which does the calculation purchases-sold.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    pritesharyan is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2015
    Location
    India
    Posts
    32
    Result shows in the image is not true
    quantity shows in image is wrong so i requires some suggestion.
    Also see i have attached Access Database Link for clear idea.

  4. #4
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    Take a look at the attached db. I have amended your query to give the results that I think you want.
    Attached Files Attached Files
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 02-28-2015, 11:57 AM
  2. Replies: 2
    Last Post: 08-14-2014, 11:49 AM
  3. Replies: 4
    Last Post: 04-26-2013, 08:32 AM
  4. Replies: 3
    Last Post: 02-26-2013, 05:07 AM
  5. Product / Stock Management
    By dale.90 in forum Access
    Replies: 1
    Last Post: 09-30-2010, 11:08 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums