Page NAV 2013 - Bad value for filter in subform

drstakzdrstakz Member Posts: 30
edited 2013-08-12 in NAV Three Tier
Hi everybody..
Pls, I have problem with Pages. #-o
I have page (header) where is possible choose Customer (relation with Customer table). In this page I have subpage (line), where I want choose record (OnLookup) from Customer Ledger Entry, filtered according Customer number from header. This works for me, but only for first customer set in header.

If I change customer in header and I want choose Ledger Entry for my new customer in subform. I see again previous values for first Customer.

I try CurrPage.UPDATE for OnValidate of Customer in header. Also UPDATE for subform, but this haven't effect.

I checked value on the header table and there is new customer number. But open page (in debuger) found old customer number at same time. ](*,)

Any ideas?
Thanks!

Comments

  • thegunzothegunzo Member Posts: 274
    A possible solution is to use only one page and have the customer no. as a filter value. Similar to the way a batch no. is used in a general ledger.
    ________________________________
    Gunnar Gestsson
    Microsoft Certified IT Professional
    Dynamics NAV MVP
    http://www.dynamics.is
    http://Objects4NAV.com
Sign In or Register to comment.