Options

Update factbox

RemcoRemco Member Posts: 81
edited 2010-09-13 in NAV Three Tier
I have created a new Page for customer with subpage Cust. Ledger Enties. I also added a factbox Customer Ledger Entry Details. This is linked to the subpage Cust. Ledger Entries. When I scroll through my customers with Ctrl+PgUp and CtrlPgDn
the factbox keeps old values when the Cust. Ledger Entries has no entries.
So Customer 10000 has 2 Cust. Ledger Entries No. 100 & 200. When I scroll to customer 20000 who has no Cust. Ledger Entries the factbox still shows the value of Customer Ledger Entry 100 of customer 10000. How do I need to update the factbox.

Comments

  • Options
    BeliasBelias Member Posts: 2,998
    try to give a name to your factbox and write this in the onaftergetrecord trigger of the parent page (customer card)
    CurrPage.myfactboxname.FORM.update;
    
    P.S.: it compiles, but i've not tested it.
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • Options
    QuickWEQuickWE Member Posts: 80
    I guessed any values on your subform it's might be Variable(not fields) , so you just clear any variables on OnAfterGetRecord as subform. :)

    For Additional :
    You must be set property of subform to same as another factbox page of STD.
Sign In or Register to comment.