Results 1 to 2 of 2
  1. #1
    heinm51 is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    1

    Forms - Trouple Displaying Calculated data from sub form in form

    Database Structure
    Tables
    -Projects
    -Materials

    Forms
    -ProjectDetails
    -MaterialsSubForm


    I have a field in my Project Table entitled "Actual Cost", and in my Materials Table I have fields labeled "Quantity" and "Cost".

    I have a text box labled txtmaterialsum with the this formula
    =Nz(Sum([Quantity]*[Unit Price]),0)



    Its located in the footer of the MaterialsSubForm.

    I want to display the results in a field labled "Actual Cost" in the ProjectDetails Form, I used the following:

    =[MaterialSubform].[Forms]![txtmaterialsum]

    I receive the #Name? error when the in form view, what I am I doing wrong/missing?

    Included a dropbox link to the file

    http://dl.dropbox.com/u/6701004/Camp...20Database.zip

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Try this for starters:

    =[MaterialSubform].[Form].[txtmaterialsum]
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 1
    Last Post: 11-07-2010, 11:04 AM
  2. Form not displaying source table data
    By Sarge, USMC in forum Forms
    Replies: 6
    Last Post: 10-25-2010, 07:36 AM
  3. Displaying unrelated data on a form
    By FadingAPE in forum Forms
    Replies: 1
    Last Post: 10-06-2010, 10:33 AM
  4. Replies: 0
    Last Post: 11-12-2008, 05:18 PM
  5. Replies: 2
    Last Post: 09-14-2006, 04:12 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