I am using the project management template. On the first form there is a list of projects in a grid and there is a button for new projects. The second form has individual textboxes for data entry. I am need to know if the user clicked the NewRecord button or clicked on existing record to edit. If the user clicked on the new record button I want to do an insert query into the tasks table.