Using a field from one layout as a filter (find) for another?
I thought this would be easy but it's harder than I thought. As the title says, I want to use a unique field of one layout to filter in another layout. I'm using a script in a button that does this:
- go to the other layout
- enter find mode
- set the field I want to filter with the unique field
- perform find
That doesn't work, however so I'm at a loss. Can anyone help me? What I basically want to do is take the data from the first layout (article ID) and then use that single unique value to see all the orders that contain this article ID using a filter (find).