Filtering in a matrixbox

xavigepe
xavigepe Member Posts: 185
Hi. I'm using matrixbox in Production Forecast form and I need to filter the items shown in the left side according to a value in another table. In which trigger or where could I do it?.

Thx,

Comments

  • amunozsu
    amunozsu Member Posts: 30
    Hi,

    The left side is for the main table in the form so I think that the OpenForm trigger should be the right place,

    -- Alejandro --
  • xavigepe
    xavigepe Member Posts: 185
    But how could I do the filter?. I can't ](*,)
  • xavigepe
    xavigepe Member Posts: 185
    [Inappropriate text (finally :oops: ) removed by Moderator.]
    [Non-English text (besides in the forums where it is allowed) is not allowed.]
  • johnson_alonso
    johnson_alonso Member Posts: 690
    Why don't you use F7 (field filter)..? by simple press F7, you can filter the item. for example:
    1000..1020, then the windows show item nos. range from 1000 to 1020.


    Rgds,
    Johnson


    "visit: http://groups.yahoo.com/group/Sea-Navision-Community"
  • kriki
    kriki Member, Moderator Posts: 9,132
    edited 2007-02-20
    [Inappropriate text (finally :oops: ) removed by Moderator.]
    [Non-English text (besides in the forums where it is allowed) is not allowed.]

    Please write in English. Or at least, put also the English translation. You will get also more replies

    The best place would be in the "OnOpenForm"-trigger. But you can also create a function that is called from another object, before running the form.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • gulamdastagir
    gulamdastagir Member Posts: 411
    kriki wrote:
    xavigepe wrote:
    [Inappropriate text (finally :oops: ) removed by Moderator.]
    [Non-English text (besides in the forums where it is allowed) is not allowed.]
    Please write in English. Or at least, put also the English translation. You will get also more replies

    The best place would be in the "OnOpenForm"-trigger. But you can also create a function that is called from another object, before running the form.

    Can You Please give an Example of this Kriki :?:
    Regards,

    GD
  • kriki
    kriki Member, Moderator Posts: 9,132
    kriki wrote:
    The best place would be in the "OnOpenForm"-trigger. But you can also create a function that is called from another object, before running the form.

    Can You Please give an Example of this Kriki :?:
    Create your function in the form.

    Then in the object from which you want to call the form, you need to create a variable for that form.
    And then you can do this:
    CLEAR(frmTheForm);
    frmTheForm.TheFunction(Some parameters...);
    frmTheForm.RUNMODAL;
    
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!