Page 3 of 3 FirstFirst 123
Results 31 to 35 of 35
  1. #31
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    There is no need for both ProductID and Barcode in tblSalesDetails and tblPurchaseDetails. ProductID can probably be eliminated from all 3 tables.

    I see tblPONum is now not in relationship with tblPurchases.

    The Purchases form/subform appears to be working. However, really don't need to show the ID and PONum in the subform. If you do, at least make them Locked Yes and TabStop No.

    The ProductID combobox properties need to be changed:


    ControlSource: Barcode
    RowSource: SELECT tblProducts.Barcode, tblProducts.ProductDesc FROM tblProducts ORDER BY tblProducts.ProductDesc;
    ColumnCount: 2
    ColumnWidths: 0";2.0"
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  2. #32
    Griphon's Avatar
    Griphon is offline Novice
    Windows 8 Access 2007
    Join Date
    Nov 2013
    Posts
    19
    Quote Originally Posted by orange View Post
    Why are ProductID and Barcode both in tblPurchaseDetails?
    What is different in ProductID, ProductCode and Barcode in tblProducts?

    You have Purchases and Sales, but there are no Amount fields??

    Can you tell us in 4 or 5 sentences exactly WHAT your business is? Keep it simple so we can understand what your model is trying to support.
    Hello Orange,

    The main reason for this db is to attach stock received to a PO number and update the stock( The supplier will deliver the stock and this would be scanned in and checked against a delivery note) once this is done we would update the items into stock quantity.
    On the sales side, this would be a delivery note only and the stock quantity would be subtracted from stock using a sales code (i.e.: Customer Order number)

    So In a nutshell this is purely a stock management system.

    Thanks in advance

  3. #33
    Griphon's Avatar
    Griphon is offline Novice
    Windows 8 Access 2007
    Join Date
    Nov 2013
    Posts
    19

    ProductID

    Quote Originally Posted by June7 View Post
    There is no need for both ProductID and Barcode in tblSalesDetails and tblPurchaseDetails. ProductID can probably be eliminated from all 3 tables.

    I see tblPONum is now not in relationship with tblPurchases.

    The Purchases form/subform appears to be working. However, really don't need to show the ID and PONum in the subform. If you do, at least make them Locked Yes and TabStop No.

    The ProductID combobox properties need to be changed:
    ControlSource: Barcode
    RowSource: SELECT tblProducts.Barcode, tblProducts.ProductDesc FROM tblProducts ORDER BY tblProducts.ProductDesc;
    ColumnCount: 2
    ColumnWidths: 0";2.0"
    Hello June7,

    I really thank you for your responses, I shall give this a try and update.

    Thanks

  4. #34
    Griphon's Avatar
    Griphon is offline Novice
    Windows 8 Access 2007
    Join Date
    Nov 2013
    Posts
    19

    Updates

    Quote Originally Posted by June7 View Post
    There is no need for both ProductID and Barcode in tblSalesDetails and tblPurchaseDetails. ProductID can probably be eliminated from all 3 tables.

    I see tblPONum is now not in relationship with tblPurchases.

    The Purchases form/subform appears to be working. However, really don't need to show the ID and PONum in the subform. If you do, at least make them Locked Yes and TabStop No.

    The ProductID combobox properties need to be changed:
    ControlSource: Barcode
    RowSource: SELECT tblProducts.Barcode, tblProducts.ProductDesc FROM tblProducts ORDER BY tblProducts.ProductDesc;
    ColumnCount: 2
    ColumnWidths: 0";2.0"
    Hello June7,

    I have managed to do what I have set out to accomplish , thanks to your guys help.

    I would like to know, what would be the best way to generate a report after the capture of item in order to display a list captured for that transaction and then once I am happy that the delivery note matches what I have captured, update the stock item quantity?


    Thanks , I have attached my progress.
    Attached Files Attached Files

  5. #35
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Ideally, would not 'update' the stock item quantity. Saving calculated data is usually a bad idea, especially aggregate calcs. This results in disconnect of raw data from the aggregated data. Balance on hand should be calculated whenever needed. Total purchases minus total sales equals total on hand.

    Review: http://allenbrowne.com/AppInventory.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 05-28-2013, 04:00 PM
  2. Replies: 1
    Last Post: 02-16-2013, 11:36 AM
  3. Replies: 1
    Last Post: 01-24-2013, 05:50 PM
  4. Access 2007 - Creating New Records Based on Existing Records
    By GeorgeAugustinePhillips in forum Forms
    Replies: 9
    Last Post: 10-05-2011, 05:58 PM
  5. Replies: 12
    Last Post: 08-30-2011, 03:36 PM

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