Recent content by Ashraff

  1. A

    FILTER PRINT REPORT

    Why this code does't work. It show no record just a blank table Private Sub cmdPrint_Click() Dim filterCriteria As String Dim startDate As Date Dim endDate As Date Dim currentMonth As Integer Dim currentYear As Integer On Error GoTo ErrHandler ' Get the current...
  2. A

    Filter Records

    Hello! Can someone help me with this code: i want to create a filter for my report, when click print it will filter date 21 previous month to 20 current month (example: 21 january - 20 february). The start date in reports should be 21 previous month to current. Option Compare Database '...
Back
Top Bottom