Access MVP (2010-2015)

oOo.oOo.oOo.oOo.oOo.oOo

Navigate a Continuous Form like Excel…

Continuous forms allow you to display data resembling an Excel spreadsheet. However, you can’t navigate a Continuous form like you do an Excel spreadsheet (much to your Users dismay), well, that is, not until now…

In your modUtilities copy/paste the below (If you don’t have a modUtilities create one. It’s a place to keep all […]

 2,513 total views,  3 views today

Custom Navigation Buttons…

While Access provides Navigation Buttons, they must always be at the bottom of the Form. This does not work for my Form designs (Figure 1). Using the code below you can put your Navigation buttons where you want them AND avoid the *No Current Record* message that happens when the underlying recordset contains no records. […]

 3,099 total views

Custom Record Count…

There are times you want to display a Record Count on your Form. Or, maybe, you want to use your own Navigation Buttons but how to get the Record Count to display? Here are two options…

Click to see entire Form

txtPage is the name of the unbound TEXT field between the […]

 1,682 total views

Sort using Labels…

On continuous forms Users always want to Sort and while they could do it from the Toolbar (Access 2003 or lower) or the Ribbon (access 2007 or higher), here’s another option…

The two fields we’re going to use are Date Modified and Import Date. As you can see, I changed the LABEL back color to […]

 1,583 total views

Don’t Open Report if No Data…

You don’t want your Users to open a Report that has nothing to show them, better to give them a message instead. On the Reports NoData event you can use…

Private Sub Report_NoData(Cancel As Integer)

On Error GoTo Report_NoData_Error MsgBox "No data to Display", vbOKOnly, "Report" Cancel = True Report_NoData_Exit: Exit Sub Report_NoData_Error: If Err.Number […]

 1,925 total views,  1 views today