$$Total Attribute not working Fine

Discussion in 'Free Source Codes' started by Rishi kumar, Feb 2, 2024.

    
  1. Rishi kumar

    Rishi kumar Member


    Dear Expert ,
    Ple see the attached pic.
    this a udf based sub form. when i insert value in any value field ,$$total calculated double of previous value plus current value. pls see red marked area in pic.
    But when i saved the form and re open , total was correct. see blue area in pic.

    Field Def:
    [Field:Awb Comm]
    Use:Amount Forex Field
    Storage:AwbComm
    ;;Style: Small
    Border: Thin Right
    Inactive:$$IsEnd:$AwbAwbNo
    ; Format:Decimal:2


    [Field:Awb Fuel]
    Use:Amount Forex Field
    Storage:AwbFuel
    ;;Style: Small
    Border: Thin Right
    Inactive:$$IsEnd:$AwbAwbNo
    ; Format:Decimal:2

    [Field:Awb Duty]
    Use:Amount Forex Field
    Storage:AwbDuty
    ;;Style: Small
    Border: Thin Right
    Inactive:$$IsEnd:$AwbAwbNo

    part Def:

    [Part:Awb Part]
    Lines: Awb Title Line, Awb Details Line
    Bottom Line:Awb Total Line
    Repeat:Awb Details Line: Awb Details Coll
    Common Border:Yes
    Scroll:Vertical
    ;; Vertical:Yes
    Float: No
    Border : Thin Box
    Totals: Awb Amount, Awb Covid, Awb Comm ,AwbFuel, AwbDuty,Awb Entry, Awb Disbur,Awb DDP,Awb Pickup,AwbMisc, AwbRemote,AwbEle,Awb Rest
    Break On: $$IsSysName:$AwbAwbNo


    bottom Line:

    Local:Field: Awb Fuel:Set as:$$Total:AwbFuel
    Local:Field: Awb Duty:Set as:$$Total:AwbDuty
    Local:Field: Awb Entry:Set as:$$Total:AwbEntry
    Local:Field: Awb Disbur:Set as:$$Total:AwbDisbur
     

    Attached Files:



Share This Page