i have this event procedure "DoCmd.OpenForm "FormName", , , "[PKID]=" & Me![PKID]" it opens a form base on the [PKID]to view the details, but my problem is when i click to an empty record (doesnt have PKID yet) to enter a new record it returns an error message.... any idea please......
and thanks....