variables in worksheet page - delay in updating

ReinhardReinhard Member Posts: 249
edited 2011-10-28 in NAV Three Tier
Hello,

I've got a Worksheet page. At the top, before the Repeater, I have a couple of variables, let's say for example a Text variable called "Name"

When I change the Name from "A" to "B" it works fine.
As I start moving through different lines in the worksheet, each time the Name shows "A" for about one second before updating to "B"

This only happens the first time I go to a record. If I revisit, the Name displays correctly instantly.

Your help is appreciated feel free to ask me for more info...

- Reinhard

2009 SP1 Build 32012

Answers

  • rhpntrhpnt Member Posts: 688
    Reinhard wrote:
    I've got a Worksheet page. At the top, before the Repeater...
    By "repeater" you mean...?
  • BeliasBelias Member Posts: 2,998
    Repeater is the subtype of the group where you put lists: design page 291 to find out.
    anyway, i think there's some custom code under the onaftergetrecord that calculates the value of the textfield, and this code makes some calculations elapsing about one second...what's the code in the onaftergetrecord(or similar) trigger?
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • rhpntrhpnt Member Posts: 688
    Belias wrote:
    Repeater is the subtype of the group where you put lists: design page 291 to find out...
    Well, I know what a repeater subtype is, just wanted to get confirmation that this is what he meant (it could also be a repeat/until function...).
  • ReinhardReinhard Member Posts: 249
    It is a Repeater Group.

    The text field is not being calculated on after get record.

    My good old friend CurrPage.UPDATE(FALSE) does the trick...
  • BeliasBelias Member Posts: 2,998
    Reinhard wrote:
    The text field is not being calculated on after get record.
    and where is it calculated? :?
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • ReinhardReinhard Member Posts: 249
    The text field is initialized On Open Page.
    However at any time the user can edit this field. When the field is edited, that's when I had the problem, where as you move through the lines, it keeps showing the old value for about one second, before updating and showing the new one.
    Adding a CurrPage.UPDATE(FALSE) fixed the problem.

    Thanks for the suggestions though. Happy Halloween!
Sign In or Register to comment.