The best option is probably to create a recordset and filter it with the submitted keys. Then use server validation to validate the number of rows returned. If a the total number of rows is not zero, then the keys exist, so you could use number validation to make sure the number of rows returned is zero.