Results 1 to 5 of 5
  1. #1
    undee69 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    39

    Opening a report from a form command

    Good day everyone,

    I want to open my report to named DeliveryNote by clicking a button. I used VBA command docmd.openreport to open it up. But what I want it to show are the same items shown on the form below.


    Click image for larger version. 

Name:	Snapshot_2012-12-13_091030.png 
Views:	7 
Size:	21.3 KB 
ID:	10349

    When I open open the report, it shows all the records
    Attached Thumbnails Attached Thumbnails Snapshot_2012-12-13_091122.png  

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Here is an example that I have used in the past.
    Attached Files Attached Files

  3. #3
    undee69 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    39
    Thanks a lot dude ^_^ I will try this out and met you know if I got it working on my end ^_^

  4. #4
    undee69 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    39
    thanks for this one dude. I just made sure that I have the correct master and child linked ^_^

  5. #5
    DariusD is offline Novice
    Windows Vista Access 2000
    Join Date
    Dec 2012
    Posts
    28
    I like what I see Undee69.. How did you get your report to show one invoice? I have a project I am trying to help my son complete for a program he is trying to getinto for High school. The problem I'm having is getting a report to print that shows one order/invoice at a time, as opposed to every order/invoice all at once. Note how you show only one invoice above..Im sure your table has a bunce of invoices yet you are able to show just one per page in your report.. How did you do that.. and How do you get a button to perform that action.. Need to finish this by tonight.

    Here is my form view.. and the report I created that I dont like..I am also attaching my database since the information is not sensative..thanks for your help
    Click image for larger version. 

Name:	orderform.jpg 
Views:	5 
Size:	108.1 KB 
ID:	10692Click image for larger version. 

Name:	sampleorderreport1.jpg 
Views:	6 
Size:	67.1 KB 
ID:	10694
    Attached Files Attached Files

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

Similar Threads

  1. Report not opening from navigation form
    By librarian in forum Programming
    Replies: 3
    Last Post: 08-03-2012, 11:15 AM
  2. Replies: 1
    Last Post: 01-10-2012, 03:44 AM
  3. Opening new Tab with command button
    By JFo in forum Access
    Replies: 2
    Last Post: 09-12-2011, 01:45 AM
  4. view size opening report from command
    By GraemeG in forum Reports
    Replies: 2
    Last Post: 06-05-2011, 05:50 AM
  5. Opening Report From Form
    By injanib in forum Forms
    Replies: 4
    Last Post: 02-08-2011, 08:44 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