There isn’t such a thing as a MediaRef in AL

What should you do if you need to work with media fields on a RecordRef variable? Check the check for one way to solve this:

Source : Hougaard.com
Read more…