Basic ?

  • Thread starter Thread starter clu
  • Start date Start date
C

clu

When data is deleted from fields in a record in the Access '03 database that
I am using, the report continues to reflect that information. How can I
remove that information from the report as well? Thx
 
clu,
save the data in the form before you open the report.
If you have a button that opens the report, code it to do

If Me.Dirty = True Then
Me.Dirty = False
End If
DoCmd.OpenReport 'etc etc


Jeanette Cunningham -- Melbourne Victoria Australia
 
ps

I meant to requery the form before you open the report - instead of the code
I posted in the previous post.
The requery makes the form go back and get its recordsource.
When it does this, it doesn't get the records that have been deleted and
they don't show in the form after the requery.

Me.Requery
DoCmd.OpenReport 'etc etc


Jeanette Cunningham -- Melbourne Victoria Australia
 

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

Back
Top