Results 1 to 4 of 4
  1. #1
    beachbumch is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    5

    Lost Newbie.....Please help.

    Hello. I am still new to the access world and have made it to the end of a small inventory database I wrote for our company. Of course right before its complete I run into the biggest problem Ive had through the entire development. Im trying to run some calulations and keep getting #Name? where I would expect the calculation to be. I can also get #Error in the same field when my expression is written incorrectly. The expression I have so far is:



    =Sum([tblPOInventoryTransactions].[QTYReceived])-([tblSOInventoryTransactions].[QTYShipped])

    This expression is in a text box on my main form. tblPOInventoryTransactions and tblSOInventoryTransactions are both tables with subforms on the main form. All I need to do is subtract QTYshipped from tblSOInventoryTransactions and QTYReceived from tblPOInventoryTransactions and have the results displayed on the main form.

    Any guidance here would be greatly appreciated! Thank you.

  2. #2
    beachbumch is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    5
    Ok, after reading through this forum, it seems I need to rethink this and use a query. Im going to play with that idea for a few and report back. Thanks!

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Inventory databases can be complex. Can you post a jpg of your tables and relationships?
    I have Access 2003 so can not open or read an accdb file.
    You may wish to post a copy of your database for others to review.

    This link may help you with form subform controls syntax
    http://access.mvps.org/access/forms/frm0031.htm
    Last edited by orange; 06-25-2012 at 02:15 PM. Reason: I posted while you were posting.

  4. #4
    beachbumch is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    5
    Yep, problem completely fixed using a query. I just needed to rethink what I was doing. Thank you for the help. Just searching through past posts was enough to get me in the right direction.

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

Similar Threads

  1. Lost Network
    By chessico in forum Access
    Replies: 0
    Last Post: 08-11-2011, 06:10 AM
  2. form lost in gmail
    By vespid in forum Import/Export Data
    Replies: 1
    Last Post: 03-13-2011, 01:58 PM
  3. Replication Lost
    By tak4 in forum Programming
    Replies: 0
    Last Post: 03-17-2010, 11:55 AM
  4. menus are lost
    By eddwads in forum Access
    Replies: 2
    Last Post: 01-08-2010, 08:34 PM
  5. Completly lost...
    By fairytalesrcute in forum Access
    Replies: 1
    Last Post: 05-14-2009, 09: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