Get Key filter in subform Purchase Line

pruebasExpruebasEx Member Posts: 51
In a form of a Purchase, we have Purchase Header and the Purchase Lines on a subform.

I want to get the key filter when you change de sort of lines on subform with hotkey SHIFT+F8, and then pass it to the header form where I will call a report to print the purchase.

Thanks!

Answers

  • pruebasExpruebasEx Member Posts: 51
    Up!
  • AKAK Member Posts: 226
    Not exactly sure if I understood you completely, but a starting point might be to use GETFILTERS and CURRENTKEY in the OnActivateForm trigger. You'll have to check if the filter or the key has actually changed, since this will always fire whenever the form gets the focus.
Sign In or Register to comment.