Context menu and UD tables

Hi

does anyone know how to setup a context menu so you can right-click
and open up the related record within a UD table? the UD table has
values in Key1 and Key2. I don't really want to create a composite key
for this.

any help appreciated