Results 1 to 2 of 2
  1. #1
    Socold is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2015
    Posts
    1

    Single report

    Was hoping to get some help with a problem I have.

    My database is built around an building inspections business, the tables I have are clients, jobs, contracts, inspections and notices. what I want to be able to do is produce a PDF from either a contract or notice from a single client, ive been able to create the reports that I could format to contain the information I need, but the PDF has all the contracts or notices from every client not just the one.

    contract.pdf

    as you can see in this example all clients are there, I want to be able to produce a PDF with only one client.

  2. #2
    dhannant is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2015
    Posts
    3
    Personally, I would write some code for an inputbox that would the filter the report... something similar to this below:

    Code:
    Dim lname As String
    lname = InputBox("Enter Last Name", "Name Required")
    'On Error Resume Next
    If StrPtr(lname) = 0 Then
          MsgBox "Edit Record Cancelled", vbInformation
          GoTo EditRecord_Click_Exit
    Else
          If Len(lname) = 0 Then
                MsgBox "Please enter a name to edit", vbCritical
                GoTo EditRecord_Click_Exit
          Else
                DoCmd.OpenForm "New Employee", acNormal, "", "", acEdit, acNormal
                DoCmd.GoToRecord acForm, "New Employee", acLast
                DoCmd.FindRecord lname, acEntire, False, , False, acCurrent, True
          End If
     End If

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 05-27-2013, 08:54 AM
  2. Export Report to Single PDF Pages
    By 02kev02 in forum Import/Export Data
    Replies: 2
    Last Post: 05-23-2012, 07:03 AM
  3. Printing a single Report from two forms
    By cvolkers in forum Programming
    Replies: 4
    Last Post: 03-06-2011, 11:27 PM
  4. Exporting single query and single report.
    By rfhall50 in forum Programming
    Replies: 2
    Last Post: 02-18-2011, 12:08 PM
  5. Print Single Report
    By emkwan in forum Access
    Replies: 1
    Last Post: 01-29-2010, 11:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums