Does anyone know how to use MFC DAO API to set primary key to a field? Thanks!