Share via

Access 2016 Report

Anonymous
2018-04-09T20:44:55+00:00

I have 4-year old Access database that has a number of reports programmed into it. Many of these are opened using VBA via button action and filtered with a pre-defined date range in textboxes associated with the button. After a recent update to Microsoft Office, these reports have quit working, meaning the report opens, but there is no data displayed in the reports as if the applied filter is causing an issue.

What's more frustrating, is the report uses the "onFormat" event to do some fine tuning to objects in the report based on the data fields. For those reports that do open, the onFormat event seems to be causing an "expression has no value" error as VBA tries to read the value of a textbox during the event.

I should note that all of these reports displayed without any issues prior to the update of Office. I've not made any changes to the database and I'm wondering if anyone else has experienced a similar issue in the recent weeks. Any help or input is greatly appreciated.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

8 answers

Sort by: Most helpful
  1. Anonymous
    2018-04-10T13:58:04+00:00

    Yes, did a compile and didn't hit any errors in doing so. I think I originally developed it in Access 2013 back in 2014 and haven't had any trouble recently. Has there been a tightening up since 2016?

    Was this answer helpful?

    0 comments No comments
  2. ScottGem 68,830 Reputation points Volunteer Moderator
    2018-04-09T22:00:05+00:00

    Ok, so the app was developed in an older version of Access (which one?). And now that you have updated, they no longer work. Have you compiled your database? made sure there are no code gotchas that have been tightened up in 2016?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2018-04-09T21:32:33+00:00

    If you could make a copy of your front end, and in the copy version that you made, convert the linked tables to local tables by right clicking each table and choose convert to local table that would work. And then save the copy to OneDrive1

    But please make sure that you are doing this to the copy and not the original version.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2018-04-09T21:28:30+00:00

    I can, but it is a split version with the backend data on a network server. Will you be able to open it with it linked like that?

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2018-04-09T21:13:56+00:00

    Would you be able to save a copy of your database to OneDrive and post the link here? I can then open it up with my Access and take a look at it.

    Was this answer helpful?

    0 comments No comments