Results 1 to 6 of 6

Thread: I found pbRender in Dataflex 2021 not working as well as Dataflex 18.2. Why??

  1. #1
    Join Date
    May 2014
    Location
    Jakarta, Indonesia
    Posts
    204

    Default I found pbRender in Dataflex 2021 not working as well as Dataflex 18.2. Why??

    Hi my friend


    Good Evening


    Can you give me an answer to my question above?


    As an example of coding that I made in Dataflex 18.2 with the following command:


    Object oTpono_po is a cWebColumn
    Entry_Item Tpo.no_po
    Set psCaption to "No Po"
    Set piWidth to 110
    Set pbRender to False
    End_Object


    Then in another area I do the following command


    String sTpono_po
    WebGet psValue of oTpono_po to sTpono_po


    Then the data that is filled in oTpono_po will be filled in the variable "sTpono_po"




    Meanwhile, if it is implemented in Dataflex 2021.
    variable sTpono_po is not filled (null)


    I have done the above test and I get caused by the command set pbRender to False


    For the help, I thank you very much


    Best regards


    Yasa Nataditia

  2. #2
    Join Date
    Feb 2009
    Location
    Adelaide, South Australia
    Posts
    2,863

    Default Re: I found pbRender in Dataflex 2021 not working as well as Dataflex 18.2. Why??

    Has to do with the tightening of security. Check the documentation.
    Marco Kuipers
    DataFlex Consultant
    28 IT Pty Ltd - DataFlex Specialist Consultancy
    DataFlex Channel Partner for Australia and Pacific region
    Adelaide, South Australia
    www.28it.com.au

  3. #3
    Join Date
    Feb 2009
    Location
    The Netherlands
    Posts
    4,674

    Default Re: I found pbRender in Dataflex 2021 not working as well as Dataflex 18.2. Why??

    Yes, this is likely caused by the new security layer. Try setting pbNoFillIfHidden to false.

  4. #4
    Join Date
    May 2014
    Location
    Jakarta, Indonesia
    Posts
    204

    Default Re: I found pbRender in Dataflex 2021 not working as well as Dataflex 18.2. Why??

    Hi Marco


    Sorry, I'm late to greet you.

    I was forced to change my programming technique

    I've found it really can't be used on Dataflex 2021 in my program conditions


    thank you for your answer




    Best regards


    Yasa

  5. #5
    Join Date
    May 2014
    Location
    Jakarta, Indonesia
    Posts
    204

    Default Re: I found pbRender in Dataflex 2021 not working as well as Dataflex 18.2. Why??

    Hi Harm


    Is the "PbNoFillHiden" command similar to the pbRender command?
    I've never used this command.


    Maybe I should give it a try first.


    thank you for your answer




    Best regards


    Yasa

  6. #6
    Join Date
    May 2018
    Location
    DAE Hengelo
    Posts
    190

    Default Re: I found pbRender in Dataflex 2021 not working as well as Dataflex 18.2. Why??

    pbNoFillIfHidden makes it so that if a control is not visible (aka pbRender or pbVisible is set to false), data is not sent to this control. This means that when trying to WebGet the psValue for this control, you will not receive anything.

    This is part of an extra security layer we added in a recent version. Setting pbNoFillIfHidden for the control to false should remedy your situation.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •