Results 1 to 4 of 4
  1. #1
    StevenStip is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Posts
    2

    Creating a form for stock management

    Hello,



    In order to create a stock database and make it easy to register mutations in the database.
    A mutation is a change in stocks and I want to make it possible to enter a lot of changes at once. There is a mutation table and a mutationlines table that has a relation with articles. In the form I want to show all available articles (about 65) followed by a textfield where I can enter the amount of articles affected.
    The problem is that I don't know how to pull all articles from the articles table to use in the form.

    Is this even possible?

    Thanks in advance,

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    What do you mean by 'pull all articles'? You want a list for users to select from? Use a combobox.

    Also, 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.

  3. #3
    StevenStip is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Posts
    2
    Quote Originally Posted by June7 View Post
    What do you mean by 'pull all articles'? You want a list for users to select from? Use a combobox.

    Also, review http://allenbrowne.com/AppInventory.html
    I'd like to iterate trough all articles the database knows and put them as labels on a form followed by an inputfield (textfield) that contains the number of items of this article affected by the mutation. A mutation can be a delivery of 25 articles and different amounts for example.

    It should look like this:
    ===================
    mutation: 5 type: delivery
    Location: Main warehouse
    ------------------------
    usb cable: 130
    sata cable: 100
    RJ45: 30
    RJ11: 0
    tv plug: 100
    ==================

    The list of items is all items in the article table and I want to put the amounts in the mutationtable.

    I do find this hard to explain but I hope it's clear.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    If you want to present user with all articles for entry of a mutation value, then options are:

    1. create a set of records and open form to this recordset, issue is if no value for an article then there is a blank record that must be removed

    2. unbound form with 'rows' of unbound controls to enter values then code will save record for each row with a value

    Either method is complicated. How many articles are there?
    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.

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

Similar Threads

  1. Updating available QTY in Stock
    By ratib hussaini in forum Access
    Replies: 2
    Last Post: 11-16-2012, 04:21 PM
  2. Fair Value of Stock
    By Scorpio11 in forum Access
    Replies: 1
    Last Post: 01-04-2011, 10:45 AM
  3. Stock-take
    By Cullen1109 in forum Access
    Replies: 12
    Last Post: 10-04-2010, 11:16 AM
  4. Product / Stock Management
    By dale.90 in forum Access
    Replies: 1
    Last Post: 09-30-2010, 11:08 AM
  5. creating a stock control database!!! HELP!!!!
    By Legend9 in forum Database Design
    Replies: 1
    Last Post: 09-10-2009, 02:24 AM

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