Oops What have I done!

B

Bob V

Now when I click yhis control I am getting this error!
Run Time error '3112':
Records cannot be read;no permmisson on
-sq_ffrmBillStatement
Any Help Please

Private Sub cmdOwnerStatement_Click()
DoCmd.Close acForm, "frmBillStatement"
DoCmd.OpenForm "frmBillStatement", acNormal, , , , acDialog,
"OwnerStatement"


End Sub
 
J

John W. Vinson

Now when I click yhis control I am getting this error!
Run Time error '3112':
Records cannot be read;no permmisson on
-sq_ffrmBillStatement
Any Help Please

Private Sub cmdOwnerStatement_Click()
DoCmd.Close acForm, "frmBillStatement"
DoCmd.OpenForm "frmBillStatement", acNormal, , , , acDialog,
"OwnerStatement"


End Sub

Do you have Access Security defined on the database - and do you have
permission set for the userID running this on new queries?

It may be that the database is corrupt - try Tools... Database Utilities...
Compact and Repair. You may need to remove this Form's Recordsource and
recreate it - the ~sq_ffrmBillStatement is probably the automatically
generated query recordsource.

John W. Vinson [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top