Toggle Button Not working....please help me....

Discussion in 'Free Source Codes' started by Jenny, Apr 9, 2019.

    
  1. Jenny

    Jenny Active Member


    Code:
    [#Field : VCH StockItem]
    SubForm :EIDescExplosion10 : ##ICFGAddlDesc10 AND NOT $$IsSysName:$$Value AND NOT $$IsExploded:EIDescExplosion10 AND (@@IsInvoice OR $$IsPhysStock:##SVVoucherType OR $$IsStockJrnl:##SVVoucherType)
    
    [Report : EIDescExplosion10]
    Form : EIDescExplosion10
    
    [Form: EIDescExplosion10]
    Part  :  EIDescExplosion10
    
    [Part: EIDescExplosion10]
    Line    :EI DescExplosion10
    
    
    [Line: EI DescExplosion10]
    Fields : EI Desc10
    
    [Field: EI Desc10]
    Width    : 80% Page  
    Style   : Normal
    Storage : BasicUserDescription10
    Border: Thin Box
    BackGround : White
    
    [System : Udf]
    MyUdfs    : Aggregate: 21998
    BasicUserDescription10 : String:22009
    
    ;;;;;toggle Button Start;;;;;;;;;;;;;;;;;
    
    [#Part: VchF12STDConfig SalesInvoice]
    Add : Lines : After : ICFG VchWarningMsg : LineItemDetails
    
    [Line: LineItemDetails]
    
            Field: Long Prompt, Logical Field10
            Local: Field: Long Prompt   : Info    : $$LocaleString:"Provide additional Line Item for Stock item?"
            Local: Field: Logical Field10 : Modifies: ICFGLedAddlDesc10
    
    [Field: Logical Field10]
    
        Type        : Logical
        Width       : @@LogicalWidth
        Max         : @@MaxLogicalWidth
        Style       : Normal Bold
        Table       : YesNoTable10
        Show Table  : On Error
        Key        : LogicalToggle10
       
    
    [Key: LogicalToggle10]
    
        Key     : Left Double Click
        Action    : Set Field : NOT $$Value
    
    [Variable: ICFGLedAddlDesc10]
    
        Type        : Logical
        Persistent  : Yes
        Volatile    : No
    
    [Collection: YesNoTable10]                       
    
        List Name   : $$LocaleString:"Yes", $$LocaleString:"No"
        Title       : $$LocaleString:"Yes / No"
        Format      : $Name,10
        Client Only : Yes
    
    [System: Variables]
    ICFGLedAddlDesc10 : No
     
    nasir likes this.


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    [Key: LogicalToggle10]
    Key : Left Double Click
    Action : Set Field : If $$Value = Yes Then No Else Yes
     


  3. Jenny

    Jenny Active Member


    Sir not working
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    I checked........... it is working..........i double click and it changes the value.
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    see the video
     

    Attached Files:



  6. Jenny

    Jenny Active Member


    value change but i want to when i yes then my report (EIDescExplosion10) open
     


  7. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Be specific with your problems and explain clearly...........otherwise you are just wasting our time.

    Your query was... "toggle button not working".... that all...........

    And I suppose you have written this code...........and as per your code, you should be aware where and when your report EIDescExplosion10 will open? As per your code it will be open at the Field : VCH StockItem
     


  8. Jenny

    Jenny Active Member


    Yes sir i want to open EIDescExplosion10 report but i want to when toggle button yes its showing other wise not....in my code its not showing
     


  9. Jenny

    Jenny Active Member


    and sorry for that wasting your time
     


Share This Page