Options

SaveValues in Request Page

-matrix--matrix- Member Posts: 103
edited 2011-01-28 in NAV Three Tier
Hi! I've a problem..
When I'm going to launch my report, it doesn't save the values in request page...
I've already set the property SaveValues to Yes!
Where is the problem?
Thanks

Comments

  • Options
    vijay_gvijay_g Member Posts: 884
    The savevalues property of request page works until the object has not been modified.
  • Options
    -matrix--matrix- Member Posts: 103
    Thanks for reply, but I've already check there isn't this the problem
  • Options
    vijay_gvijay_g Member Posts: 884
    have you clear to same report in this report? check any standard report it's working fine.
  • Options
    deV.chdeV.ch Member Posts: 543
    save values works fine in request page (note: even when changing the report!)
    there must be some code that clears your Variables.
  • Options
    BeliasBelias Member Posts: 2,998
    hi everyone,
    -matrix- is a colleague of mine, and i can assure that his report is perfectly normal. :-k
    We also tried to create a report like this (The most basic i can think about) from his client and the save values doesn't work either!!
    OBJECT Report 99998 testsavevalues
    {
      OBJECT-PROPERTIES
      {
        Date=27/01/11;
        Time=12.07.47;
        Modified=Yes;
        Version List=;
      }
      PROPERTIES
      {
        ProcessingOnly=Yes;
      }
      DATAITEMS
      {
        { PROPERTIES
          {
            DataItemTable=Table27;
          }
          SECTIONS
          {
            { PROPERTIES
              {
                SectionType=Body;
                SectionWidth=12000;
                SectionHeight=846;
              }
              CONTROLS
              {
              }
               }
          }
           }
      }
      REQUESTFORM
      {
        PROPERTIES
        {
          Width=9020;
          Height=3410;
        }
        CONTROLS
        {
        }
      }
      REQUESTPAGE
      {
        PROPERTIES
        {
          SaveValues=Yes;
        }
        CONTROLS
        {
          { 1101366000;;Container;
                      CaptionML=ENU=a;
                      ContainerType=ContentArea }
    
          { 1101366001;1;Group  ;
                      CaptionML=ENU=b;
                      GroupType=Group }
    
          { 1101366002;2;Field  ;
                      CaptionML=ENU=ccc;
                      SourceExpr=cditem }
    
        }
      }
      CODE
      {
        VAR
          cditem@1101366000 : Code[20];
    
        BEGIN
        END.
      }
      RDLDATA
      {
      }
    }
    
    - if i create the same report from my client, the savevalues works like a charm!
    - if he runs a report (created by someone else) the savevalues works
    - if someone else runs a report created by him, the savevalues doesn't work :shock:

    We also tried to recreate the object metadata, but no luck...i think we will try to reinstall the client, but hey! this is really strange!
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • Options
    deV.chdeV.ch Member Posts: 543
    @Beilas
    Does the report created by him work on your machine if you recompile it? Same Build as yours?
  • Options
    BeliasBelias Member Posts: 2,998
    we've just double-checked the simple report i posted here:
    after recreating it from his client, the savevalues works :-k I've probably forgot to set the property... :oops:
    clearly, there's something wrong with the report, we're going to recheck it...but we didn't notice any clearance code in the report...
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • Options
    -matrix--matrix- Member Posts: 103
    Thanks, @Belias Solved my problem :D
  • Options
    BeliasBelias Member Posts: 2,998
    And the solution was......nothing...suddendly, the savevalues started working :?
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • Options
    Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    :D simply absurd
    ~Rik~
    It works as expected... More or Less...
Sign In or Register to comment.