Hi Anders,
If you search the forum there are numerous examples, this is the one I finally used