Recent content by ayh1

  1. A

    filter report

    yep if i double click the report from the toolbar on the side it currently shows all
  2. A

    filter report

    yes i have a show all button and filter button, the filter takes the show all report and limits it down
  3. A

    filter report

    It would not work as it is linked to sql tables
  4. A

    filter report

    I tried it with month only first it says error, expecting two arguments DoCmd.OpenReport "AttWholeCity", acPreview, , "([Month]='" & txtCourseDateMonth & "' OR IsNull([Month])=False)"
  5. A

    filter report

    I have a report filter that filters the reports by month and year: DoCmd.OpenReport "AttWholeCity", acPreview, , " Month = '" & txtCourseDateMonth & "' AND Year = '" & txtCourseDateYear & "'" I want the code to also show these two columns where there are null/blank values aswell...
  6. A

    query remove null rows

    I have a query SELECT TOP (100) PERCENT CONVERT(char(3), dbo.tblCourses.CourseDate, 0) AS Month, YEAR(dbo.tblCourses.CourseDate) AS Year, gp.OrganisationCode, gp.Name, gp.Address1, gp.Address2, SUM(CASE WHEN a.AttendanceStatus IN (9) THEN 1 ELSE 0 END) AS Attended...
  7. A

    Query help show all from table

    I have tried SELECT TOP (100) PERCENT CONVERT(char(3), dbo.tblCourses.CourseDate, 0) AS Month, YEAR(dbo.tblCourses.CourseDate) AS Year, gp.OrganisationCode, gp.Name, gp.Address1, gp.Address2, SUM(CASE WHEN a.AttendanceStatus IN (9) THEN 1 ELSE 0 END) AS Attended...
  8. A

    Query help show all from table

    I tried SELECT TOP (100) PERCENT CONVERT(char(3), dbo.tblCourses.CourseDate, 0) AS Month, YEAR(dbo.tblCourses.CourseDate) AS Year, gp.OrganisationCode, gp.Name, gp.Address1, gp.Address2, SUM(CASE WHEN a.AttendanceStatus IN (9) THEN 1 ELSE 0 END) AS Attended, SUM(CASE...
  9. A

    Query help show all from table

    When i select all rows from gp (right clicking on the link/join) it creates a right outer join but still the same results i tried changing all to right outer and no luck, then changed all to left outer and no luck
  10. A

    Query help show all from table

    Hi I have a query: SELECT TOP (100) PERCENT CONVERT(char(3), dbo.tblCourses.CourseDate, 0) AS Month, YEAR(dbo.tblCourses.CourseDate) AS Year, gp.OrganisationCode, gp.Name, gp.Address1, gp.Address2, SUM(CASE WHEN a.AttendanceStatus IN (9) THEN 1 ELSE 0 END) AS...
  11. A

    Access Database Password protect how to

    Hi I have an access.adp project how can i password protect it I have looked for tutorials and it states encrypt via the File - Info tab but this option is not avaialble on .adp projects? is there an alternative thanks
  12. A

    open report vba filter

    its working thanks had year and month mixed up
  13. A

    open report vba filter

    i tried that but it does not filter as when i try each filter seperately it brings up all the records
  14. A

    open report vba filter

    Hi I have vba code DoCmd.OpenReport "MonthlyData2", acPreview, , " YEAR(CourseDate) = '" & Me.txtCourseDateMonth & "' " this works sucessfuly how can I add the following to the code so it filters month and year? '" MONTH(CourseDate) = '" & Me.txtCourseDateYear & "' "
  15. A

    mail merge for a single record

    if I send it to you it may not open correctly as its connected to sql server tables
Back
Top Bottom