Results 1 to 5 of 5
  1. #1
    Omer Aslam is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Apr 2012
    Posts
    3

    Help Need

    I want the query or any other formula for this result..
    Net_Total (in 1st row) = Price (of 1st row) - Discount (of first row) and
    Net_Total (in 2nd row) = Net_Total (of 1st row) + Price (of 2nd row) - Discount(of 2nd row) and
    Net_Total (in 3rd row) = Net_Total (of 2nd row) + Price (of 3rd row) - Discount (of 3rd row)....and so on



    see the picture
    Attached Thumbnails Attached Thumbnails Untitled.jpg  

  2. #2
    RagJose is offline Seasoned user
    Windows XP Access 2002
    Join Date
    Apr 2012
    Location
    Brazil
    Posts
    42
    Without a bigger picture, it seems Excel would suit your need better... In a Form or query, AFAIK you cannot define references to a previous record.

  3. #3
    Omer Aslam is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Apr 2012
    Posts
    3
    but i need this in access not in excel

  4. #4
    ssanfu is offline Master of Nothing
    Windows 2K Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    You can reference the previous record, but not using the current info provided. See Method 2 at http://support.microsoft.com/kb/210504

    There needs to be a field that can be sorted in ascending order - ie a date field (but not an autonumber type field)

  5. #5
    Omer Aslam is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Apr 2012
    Posts
    3
    i need exact formula for my scenario

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

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