Field does not appear on report

Discussion in 'Tally Developer' started by ERP Programmer, Jul 18, 2018.

    
Tags:
  1. ERP Programmer

    ERP Programmer New Member


    I am trying to develop a new report that will ask user to select a start date and an end date. I have the following code:

    Code:
    [Report: Purchase Invoice Report]
      Form            : Purchase Invoice Form
      Full Screen     : Yes
      Title           : $$LocaleString:"Fetch Purchase Invoices"
    
      [Form: Purchase Invoice Form]
        Height        : 100% Screen
        Part          : Purchase Invoice Part
        Width         : 100% Screen
    
        [Part: Purchase Invoice Part]
          Lines       : Start Date Selection Line, End Date Selection Line
    
          [Line: Start Date Selection Line]
            Fields    : Medium Prompt, Start Date
            Local     : Field : Medium Prompt : Info : $$LocaleString:"Start date"
            Space Top : 0.5
    
            [Field: Start Date]
              Align   : Left
              Storage : StartDate
              Use     : Uni Date Field
              Width   : 20 
    
          [Line: End Date Selection Line]
            Fields    : Medium Prompt, End Date
            Local     : Field : Medium Prompt : Info : $$LocaleString:"End date"
            Space Top : 0.5
    
            [Field: End Date]
              Align   : Left
              Storage : EndDate
              Use     : Uni Date Field
              Width   : 20 
    
    [System: UDF]
      EndDate     : Date : 20001
      StartDate   : Date : 20002
    
    When the report opens, the labels Start date and End date are displayed fine, but the text boxes where their values can be specified are not displayed. A screenshot of the report is attached for reference.

    I have already tried the following, to no avail:

    • Using different field names like "My Start Date", "MyStartDate", "MyStartDate1a", etc.
    • Using different names for UDFs
    • Using different identifier for UDFs
    • Providing field settings inline instead of using pre-built fields ("Uni Date Field")
    I am using Tally.ERP 9 v6.4.6 and Tally.Developer 9 v6.4.1 (the latest versions available for download). I am working in educational mode.
     

    Attached Files:



  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Nothing wrong with your code.......
    However you can try the following order::.......................... in Field....1) Use, 2)Storage, 3) Width and then 4)Align
     


  3. ERP Programmer

    ERP Programmer New Member


    I contacted Tally Developer Support, who helped me resolve the problem. I was opening the report as Display : Purchase Invoice Report, which according to the support engineer, forces the report to open in read-only mode, disabling any editable fields. Opening the report as Alter : Purchase Invoice Report displays the fields correctly.
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    In your code there is no mention you re Displaying or Altering......... so next time you should submit the full code.........
     



  5. Dear programmer, Can you please tell me how can we contact with Tally Developer Support. Thank You
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Call their toll free number....they will direct you to their TDL Desk.....

    No separate number or email ID has been listed...
     
    zakirhossain_diu likes this.



  7. Thank you
     


Share This Page