+ Reply to Thread
Results 1 to 15 of 15

Stock Controlling Data base

  1. #1
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post Stock Controlling Data base

    Dear friends, i want make simple stock controlling data base on access.i have try to make that in excel ,but that's not matching with this work.I'm very new to access.so i need your help to do this with access.don't think I'm giving my work to u all.here i have attached my excel sheet.pls make simple sample sheet in access for me.thanks in advance..

    edit -
    I have attached my access database also.(zip file)
    Attached Files Attached Files
    Last edited by johncena; 08-26-2011 at 03:05 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Stock Controlling Data base

    I don't think that anyone in the forum will be willing to spend the time to build a database for you as that appears to what you are asking. Suggest you learn the basics of relational databases and make an attempt and post back with specific issues. In the meantime, here is a link to MS templates and you might find an out of the box solution or one you can modify to meet your needs.

    http://office.microsoft.com/en-us/te...001018458.aspx

    I would start with this white paper on relational databases.

    http://forums.aspfree.com/microsoft-...es-208217.html



    Alan
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Stock Controlling Data base

    I completely agree, and to be honest, I doubt someone building you a database would do you any good for very long. Requirements and needs for a database often change, and if you don't know how it works you'll constantly be needing other people's help. I even find that I'm often more inclined to build a new database than to try to fix/modify someone elses, particularily if that database was not very well built.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  4. #4
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post Re: Stock Controlling Data base

    thanks a lot for your both replays.i have make small data base & attached here...my requirement is ..
    01.after selecting item code in transaction table item name should auto file.(that name can take from item database)..
    02.if i enter data to transaction table , that data should auto update item database..(base on item code).

    actually what i want to do is one place i need to enter the data & that transactions should save in one place (properly item wise).

    I need your ideas & suggestions to improve my stock control system.pls help me..
    my doc.
    http://www.mediafire.com/?x500clw7b70859c
    Last edited by johncena; 08-25-2011 at 11:26 AM.

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Stock Controlling Data base

    Attach files to the actual post
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Stock Controlling Data base

    Unable to open and read the database. Please make it backward compatible to 2007 or earlier to get full benefit of the forum.

  7. #7
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post Re: Stock Controlling Data base

    my file belongs to access 2010.here i have converted that to access 2003.pls help me..
    Attached Files Attached Files

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Stock Controlling Data base

    I have looked at your database and have a couple of suggestions as a start.
    In your database table, based upon what I have seen, I would only have three fields (unless there is more pertinent data associated with the product).

    Database Table
    ---------------
    ItemID (PK)
    ItemCode
    ItemName

    In your transactions table, you would record all the ins and outs but not repeat any of the information in the Database Table as this would result in a non-normalized database.

    Transactions Table
    ------------------
    TranID (PK)
    ItemID (FK)
    TranDate*
    Description
    Received
    Issued

    *note here that the word "DATE" is a reserved name in Access and should not be used as a field name.

    Because balance is a calculation, it should not be done in a table and only performed in queries and forms. Therefore you should then build a query joining the two tables on the ItemID to perform balance calculations.

    Additionally, I found no form in your database. You should create a form for data input. You should not let users enter data directly into tables. I would do it with a subform for the transactions and use the query to give you a balance if you need to see it at data entry.

    If you go to this link and scroll down to sub-forms, there are two good tutorials on this.

    http://www.datapigtechnologies.com/AccessMain.htm

    This should get you started in the right direction. Post back with additional specific questions as you move along. Good luck and welcome to the world of Access.

    Alan

  9. #9
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post Re: Stock Controlling Data base

    Quote Originally Posted by alansidman View Post
    I have looked at your database and have a couple of suggestions as a start.
    In your database table, based upon what I have seen, I would only have three fields (unless there is more pertinent data associated with the product).

    Alan
    thanks for your advice.i have make form & now i have another question.new data i want to enter base on item code.but that item code i have make as primary key.so it will not allow to duplicate.in this case what i have to do.pls check my attachment.
    Attached Files Attached Files
    Last edited by johncena; 08-30-2011 at 04:16 AM.

  10. #10
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Stock Controlling Data base

    Please do not quote whole posts unless necessary!

  11. #11
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Stock Controlling Data base

    In your transactions table you made the Item ID your primary key and not your foreign key. Add a primary key in your transactions table (make it an autonumber) and then use your Item ID in that table as a foreign key. In your form, have the transactions a subform of the Items as shown in the video.

    Alan

  12. #12
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: Stock Controlling Data base

    Quote Originally Posted by alansidman View Post
    In your transactions table you made the Item ID your primary key and not your foreign key. Add a primary key in your transactions table (make it an autonumber) and then use your Item ID in that table as a foreign key. In your form, have the transactions a subform of the Items as shown in the video.

    Alan
    I think now it's ok.final question is making a summary to get currant balance.pls help me to do that.thanks a lot for your all helps..
    Attached Files Attached Files
    Last edited by johncena; 08-30-2011 at 08:27 AM.

  13. #13
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Stock Controlling Data base

    First of all, I would create an opening balance in the transactions table as Receipts and eliminate the quantity in the Items table. Next I would create an aggregate query to sum the receipts and issues by part number. I would then create a second query to add the sum of receipts less the sum of issues. Then when you want the on hand you will only have to run the second query. See the attached.

    Alan
    Attached Files Attached Files

  14. #14
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: Stock Controlling Data base

    Quote Originally Posted by alansidman View Post
    First of all, I would create an opening balance in the transactions table as Receipts and eliminate the quantity in the Items table. Next I would create an aggregate query to sum the receipts and issues by part number. I would then create a second query to add the sum of receipts less the sum of issues. Then when you want the on hand you will only have to run the second query. See the attached.

    Alan
    thanks a million.everything work fine.i want to learn about query .

  15. #15
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Stock Controlling Data base


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1