Results 1 to 3 of 3
  1. #1
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389

    Please help for correct expression

    Hello to all of you,


    I have created an attached small sample program. In this I have created an unbound column named yarn cost in which "rate*quantity+yarn wastage percentage" figure is shown and it is working properly but the problem is that I am not able to total the yarn cost column. I am staying. Please suggest me its correct expression. Thank you.
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Try:

    =Sum([Quantity]*[Rate])+(Sum([Quantity]*[Rate])*[Forms]![Cost_Sheet]![Yarn_Westage]/100)


    You want numbers to align left?
    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
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389
    Thank you very much it is working now.
    Actually I had created this small sample program which in my hurry I forgot to right side align the numeric text box.
    Thank you once again.

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

Similar Threads

  1. Replies: 10
    Last Post: 03-22-2018, 01:37 AM
  2. Replies: 2
    Last Post: 01-20-2018, 08:42 AM
  3. Can't seem to get the criteria expression correct
    By GraeagleBill in forum Queries
    Replies: 2
    Last Post: 10-25-2015, 05:16 PM
  4. Correct syntax for query expression
    By stevekos in forum Queries
    Replies: 1
    Last Post: 07-23-2015, 01:55 AM
  5. Replies: 8
    Last Post: 08-03-2014, 09:35 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