How to perform a lookup or query of Custom Table records