Page 3 of 3 FirstFirst 123
Results 31 to 43 of 43
  1. #31
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770

    Here is one method http://www.datapigtechnologies.com/f...mtoreport.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  2. #32
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153
    I'm sorry I haven't been using access very long I'm not sure how to do that. In property sheet on report would i do that through the control source?

  3. #33
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    Yes, create a query for your report (instead of basing it on the table) and put in criteria (there's a line for it) of something

    between [Enter the Start Date] and [Enter the end Date]

    the user will be prompted for the start and end date of a pay period and your report can handle the sorting/grouping from there.

  4. #34
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153
    I am so sorry I am being so dumb. You are so patient I really appreciate it. I think I understand now. I have really only used Access for the databases and forms and never really needed it to create reports since I was previously just storing information. Thank you so much for your help.

  5. #35
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153
    Well I'm wrong again. I made a query for PayPeriods previously that calculated the EndDate from my StartDate (DateAdd('d',13,[StartDate])) worked perfectly. So I created a query using both the PayPeriod Query and the FuelCard table and can't seem to get it to list all records between the payperiod start and end dates. it keeps just giving me all records listed on the start date only.

  6. #36
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    how about providing the SQL for the query you're building.

    If you are trying to get data for the pay period between the startdate and the startdate + 13 days (so you only have to put in one variable then your criteria for the query would be:

    between [Enter the Start Date] and dateadd("d", 13, [Enter the Start Date])

  7. #37
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153

    Unhappy

    Fuel-Jan102014mdb (2).zip

    Can you take a look? I have to be making this more difficult than it really is, I am constantly overthinking things.

    EDIT: I just noticed you are Access 2003 so this is the mdb format

    Fuel-Jan102014.zip
    Last edited by breakingme10; 01-10-2014 at 11:31 AM. Reason: wrong format

  8. #38
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153
    and of course as soon as i post that i get it! the query is working perfectly! i just need to make the report from the query now. THANK YOU SO MUCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  9. #39
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153

    Angry Why is my report printing like this?

    Click image for larger version. 

Name:	11_18_13-12_1_13_Page_1.png 
Views:	13 
Size:	27.8 KB 
ID:	15029Click image for larger version. 

Name:	11_18_13-12_1_13_Page_2.jpg 
Views:	13 
Size:	51.0 KB 
ID:	15028Click image for larger version. 

Name:	11_18_13-12_1_13_Page_3.jpg 
Views:	13 
Size:	119.8 KB 
ID:	15027Click image for larger version. 

Name:	11_18_13-12_1_13_Page_4.jpg 
Views:	13 
Size:	32.8 KB 
ID:	15026Click image for larger version. 

Name:	11_18_13-12_1_13_Page_5.jpg 
Views:	13 
Size:	38.1 KB 
ID:	15025

    There is also another page but it only lets me post 5

  10. #40
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    looks to me like you have extra space in your headers/footers that's forcing print things to print out, that would happen especially when you force page breaks as well.

    You could also be printing a report that is wider than your margins so that the second page is actually the right edge of the first page. Look at your margins as defined in the report design and then look at the width of your report

    For instance if you have a page width of 8.5 and your report width is 8.501 you'll be printing a second page that looks blank but it's just the right edge of your first page.

  11. #41
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153
    Property Sheet Report Width says 16" but it won't let me change it at all.

  12. #42
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I was playing around with your dB. I made a few changes......
    As rpeare advised, I changed some of your field names, removed the lookup fields and added queries and forms....

    Feel free to ignore my changes... but maybe it will give you some ideas or help..

    The dB is in A2010 format

  13. #43
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    move your cursor to the right edge of the formatting area (it should have a bunch of little dots in the background that form a grid. Click and drag that edge as far as you can to the left. If you don't get it under your formatted area's required width (for instance under 8" if your page is 8.5x11 and your margins are .25) then you have something else in there that is using up width and the only thing to do is to click and drag a selection box over the entire right half of the report where your data IS NOT supposed to appear and see what it highlights, then delete/modify/resize as necessary to get your report's design area to the appropriate width.

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Easy problem to solve
    By alka in forum Access
    Replies: 2
    Last Post: 11-19-2013, 02:01 PM
  2. How quickly does a Form record update?
    By JRINC in forum Forms
    Replies: 3
    Last Post: 10-12-2011, 02:19 PM
  3. Easy query problem
    By nparrillo in forum Queries
    Replies: 3
    Last Post: 04-05-2011, 02:28 PM
  4. Replies: 0
    Last Post: 03-29-2011, 09:37 AM
  5. Placing images quickly
    By marcello.dolcini in forum Import/Export Data
    Replies: 1
    Last Post: 10-20-2008, 06:05 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