Access Report Parameters

Dear Sir
can you give me any sample database file or access vba code where report can filter by chose Interim date and select single customer data range.

like “Jon” buy how mane thing from 1/1/13 to 30/1/13

where jon is my customer

I just wane vba code for the command button oh i will chose customer name from combo box & date i will type in text box

Most of this code is based on parameter queries and not a whole lot of VBA. Take a look and get the database.

[sourcecode language=”vb”]

‘ERIK LOEBL(713)409-7041

Option Compare Database

Private Sub btnReport_Click()
On Error Resume Next

DoCmd.OpenReport "rptOrders", acViewPreview
End Sub

Private Sub Report_NoData(Cancel As Integer)
MsgBox "No Data"
Cancel = True

End Sub


Click here for the database and the code:

Offsite Related Information:

“Go Fund Me” Page

($5 suggested amount)

(…10% of your gift amount will go to charity)

Free! Subscribe To Our YouTube Channel!

Free MS Access VBA Programming Course

Facebooktwitterredditpinterestlinkedinmailby feather
Tags: , ,