Thanks for your reply!
Here's the description what i am doing.
- I opened already exist mdb file on MS Access 2010.
- Then i add a command button on form layout
- I added following line of code on click event of new command button.
If Me.Dirty Then 'Save any edits.
Me.Dirty = False
End If
If Me.NewRecord Then 'Check there is a record to print
MsgBox "Select a record to print"
Else
strwhere = "[ID] = " & Me.[ID]
DoCmd.OpenReport "qckprint1", acViewPreview, , strwhere
End If
- when i click on Save icon button. I am getting the following error. Basically i am not changing the format i am trying to save it on mdb format.
"This form or report contains changes that are incompatible with the current database format. The form or report was not saved."
- It's working fine when i tried the same on MS Access 2003.
I don't know if i can attach the file over here.