Table Value not store in Field

Discussion in 'Free Source Codes' started by Jenny, Sep 3, 2018.

    
  1. Jenny

    Jenny Active Member


    I Create a table in [Field : JAPDesc] but that table value not store in this field..so please guide me.....

    [Report: Subqty Name]
    Form : Subqty Name
    Object : Company

    [Form: Subqty Name]
    Part : FormSubTitle, noofqty
    ;Button : Delete All, Remove Line, Restore Line, Restore All,Report Operations
    FullWidth : No
    Height : 90% Screen
    Background : @@SV_CHEQUE
    SpaceRight : 0.5
    SpaceLeft : 1.5
    Local : Field : Form SubTitle : Info : $$LocaleString:"NO OF QTY"
    Option : Small Size Form

    [Part: noofqty]
    Lines : PPP Subqty
    Repeat : PPP Subqty:mydbSubqty
    Break on: $$IsEmpty:$subqtyName
    Scroll : Vertical
    Height : 90% Screen


    [Line: PPP Subqty]
    Fields : PPPSubqty
    Local : Field : Default : Delete : Border

    [Field: PPPSubqty]
    Use : Number Field
    Storage : subqtyName
    Unique : Yes
    Width : 10

    [System: UDF]
    mydbSubqty : Aggregate: 997
    subqtyName : Number : 1300

    [Collection : subqtyCollection]
    Type : mydbSubqty : Company
    Childof : ##SVCurrentCompany
    Format : $subqtyName, 10
    Title : Sub Qty

    [Field: JAP Desc]
    Use : Number Field
    Set as :$SubqtyName
    Storage : JAPDesc
    Style : Normal
    Set Always : Yes
    Width : 4
    Table : subqtyCollection, not applicable
    Show Table: Always
    Key : Create Subqty Name

    [Key: Create Subqty Name]
    Key :Alt + C
    Action: Alter: Subqty Name
    [/CODE]
     
    Last edited: Sep 3, 2018


  2. Varun_reddy

    Varun_reddy New Member


    You should allocate the storage for JapDesc inside [system:udf].
    And the main thing is you should add this field in the line where the context should be some object like voucher or stock item etc..
     


Share This Page