Options

Subforms and parameters passing issue

poppinspoppins Member Posts: 647
Hi everyone,

I have got the following problems: I have two main forms(with a subform control each).
I need to do the following: when I do a lookup in the subform 1(from the main form 1) I display main form 2....There is a parameter being calculated in subform 2 and displayed in main form 2...this parameter needs parameters form subform 1...

How can I transfer the parameters between the two subforms and get the result displayed whenever I do a lookup????

I hope I explained it clearly :oops: :oops:

Comments

  • Options
    pdjpdj Member Posts: 643
    I'm quite sure you will get a lot of suggestions to re-design the solution, but almost everything is possible in Classic NAV 8)

    Have you considered using a Single Instance codeunit as a placeholder for the parameters and the OnTimer trigger on form 2 to fetch them?
    Regards
    Peter
  • Options
    Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
  • Options
    krikikriki Member, Moderator Posts: 9,096
    [Topic moved from 'NAV Three Tier' forum to 'NAV/Navision Classic Client' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    poppinspoppins Member Posts: 647
    pdj wrote:
    I'm quite sure you will get a lot of suggestions to re-design the solution, but almost everything is possible in Classic NAV 8)

    Have you considered using a Single Instance codeunit as a placeholder for the parameters and the OnTimer trigger on form 2 to fetch them?

    In fact, I am facing this problem because I have already redisigned two matix forms(each one is consisting now on a main form and a tabular subform) and one of them calls the other ](*,)

    Now I can transform my two forms into pages but I can't make them communicate correctly :cry:
  • Options
    poppinspoppins Member Posts: 647
    In fact, I need to pass data from subform 1 to main form 2 and then from main from 2 to subform 2....

    Is that possible???? :-?
Sign In or Register to comment.