Results 1 to 3 of 3
  1. #1
    SFC is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2011
    Posts
    47

    Enter parimeter value question

    I have a report that has two textboxes and thier data control source is are values from a table (say, Qty & Price).
    I have another textbox (Extension) that the data source multiplies two of the textboxes mentioned above (Qty & Price).


    In my report footer I have another textbox (textboxname) that will sum the textbox (Extension).
    My problem is that when I run the report I get a dialog box asking me for the parameter of the textbox that I want to produce a sum in the footer.
    Why doesn't it just sum the textbox? The expression in the texbox is =Sum([texboxname])

    Thanks,
    Steve

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Header/footer calcs can't refer to controls, must refer to fields. Either do the Qty * Price calc in query and refer to the constructed field or do footer calc like: =Sum(Qty * Price)
    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
    SFC is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2011
    Posts
    47
    Thank you for your input, I'll give it a try.

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

Similar Threads

  1. Enter Parameter Value
    By kwooten in forum Queries
    Replies: 13
    Last Post: 08-11-2011, 02:35 PM
  2. Tab or Enter keys
    By rwatkins in forum Forms
    Replies: 3
    Last Post: 05-11-2011, 03:22 PM
  3. Replies: 5
    Last Post: 02-06-2011, 04:32 PM
  4. Enter After Update
    By OpsO in forum Programming
    Replies: 10
    Last Post: 01-31-2011, 02:43 PM
  5. Yes/No, If yes Enter Number
    By kennyrogersjr in forum Forms
    Replies: 1
    Last Post: 11-29-2010, 07:37 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