How to relate Custom Tables and fields