well, there is a little problem with your last post. My database is query free!!! I know, I know, its not right but I just saw no need to use one (i got hired part-way after the database was under construction so I didn't want to change and start over again).
I did manage to get it to delete and not show an empty form but there is a problem. If i select record # 40 (assume that client is represented by records 35,36,37,38,39,40) then it will delete record 39 and display record 40. It just needs some refinements

here is the code, see if you notice anything
---code---
Private Sub command271_Click()
On Error GoTo Err_cmdDelete_Click
Dim stDocName As String
Dim stLinkCriteria As String
stLinkCriteria = "[client name]=" & "'" & Me![CLIENT NAME] & "'"
'stDocName = "Audit Info"
DoCmd.SetWarnings False
If MsgBox("Are you sure you want to delete this Audit and its associated measures?", vbQuestion + vbYesNo + vbDefaultButton2, "Delete?") = vbYes Then
If Me.CurrentRecord = lngCount Then
DoCmd.OpenForm "audit info", , , stLinkCriteria
'stDocName = "Audit Info"
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdDeleteRecord
Else
If Me.CurrentRecord <> lngCount Then
DoCmd.OpenForm "audit info", , , stLinkCriteria
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdDeleteRecord
End If
CLIENT_NAME.SetFocus
End If
Exit_command271_Click:
DoCmd.SetWarnings True
Exit Sub
Err_cmdDelete_Click:
MsgBox Err.Description
Resume Exit_command271_Click
End If
End Sub
---code---