witzph1 said:
>>I'm getting an error on syntax. Do you see the error?
Yes. You are missing a double quote, plus the aliases are messed up.
Try:
SELECT PINFO.REC, PINFO.NAME, PINFO.PEMAIL, POLICY.POL_IDX, POLICY.PR_P
FROM PINFO INNER JOIN POLICY ON POLICY.POL_IDX LIKE PINFO.REC & "*"