Results 1 to 2 of 2
  1. #1
    shanky365 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jul 2011
    Posts
    13

    Conditional data entry access: intresting

    Hello folks.
    I have created a basic inventory system.
    now d problem is this: i have created a form for issue of materials and reciept of materials.
    1. how can i link the total qty , issued qty and balance qty such that, every time some one issues the same material again, the number gets deducted from balance qty and adds up in issued qty.
    for eg
    item -total qty--- issued -----balance
    bulbs ----10 -------2 ------------8



    nw if suppose i again issue 5 bulbs it should not show (its showing in my case)

    item ----total qty-- issued------- balance
    bulbs ------10 ----------2------------- 8
    bulbs -------10 ---------5 -------------5
    instead it should show:
    item -----total qty------ issued ---------balance
    bulbs ---------10 --------7 -----------------3


    Alos tell me if i hav 3 tables having total qty , issued and balance qty..... den how can i create sum rule that no can enter issued qty more than balance qty...

    u can gv me ideas..or tell me what to search for....
    Last edited by shanky365; 07-20-2011 at 12:23 AM. Reason: addition of q

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,644
    Do not try to maintain totals. Purpose of a relational database is to input data then run reports that summarize. Report would sum the receipts, sum the issues, and calculate the difference to show balance. NEVER save a balance. Trying to update running values will drive you nuts.

    Need a table to show receipts activity, table to show issues activity. These tables will not relate one-to-one.

    Probably require code to check the database and determine if issue amount would exceed available. This can be done behind a form.
    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. Replies: 4
    Last Post: 05-28-2011, 01:20 AM
  2. Replies: 2
    Last Post: 05-11-2011, 09:06 AM
  3. Data entry of Web Forms to Access
    By psanghvi in forum Forms
    Replies: 1
    Last Post: 01-31-2011, 02:48 PM
  4. Problems with data entry form Access 2010
    By OfficeQuestions in forum Access
    Replies: 4
    Last Post: 09-23-2010, 01:42 PM
  5. Simultaneous Data Entry for Access 2007
    By matt.smith in forum Access
    Replies: 1
    Last Post: 05-27-2010, 03:22 PM

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