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

    Can't use many functions in Calculated type field. Do calcs in queries or in textboxes.
    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. #17
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    no, your table is only storing the date that you provided the service, not the pay period that it was provided in, and frankly there's no reason to go with that type of architecture. The report is going to show you a period based on what you enter, the default is to enter a start date and the end date is calculated, but you can overwrite that as well if you want to, for instance, report on a full month of data.

  3. #18
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153
    Is there a way to get my query for the driver name to show for the combo box as firstname lastname instead of the id # i unclicked the show on id but now it still just shows last name

  4. #19
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    I don't understand what you are asking. The report is based on you putting in a starting date and nothing else. If you did as I suggested and made an employee table that had an ID with a first and last name fields you can concantenate them in a combo box with a formula like DriverName = Driver_FN & " " & Driver_LN

  5. #20
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153
    well, i need to print up the report at the end of each pay period and they want the exact dates the fuel was taken on, i think there are rumors floating around about over use of the gas so they want to know when and to what vehicle and then a separate report that shows when and by which driver

  6. #21
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153
    oh sorry i fixed my name issue earlier, i was entering new fuel cards in the database which is what my form was for and it would only let me choose the driver by id and i kept having to go back and look up their id. but all fixed on that

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

    Lightbulb Just need Help with the report

    Ok so i have the tables and everything, now I just need to get the reports to be formatted like this for the driversort:



    and like this for the unit sort: (yes they want two separate reports)


    Here is my database so far:

    FuelCardReportLog.zip

  8. #23
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    So what's the question?

    Are you having difficulty with the shading? the sorting/grouping? the subtotals?

  9. #24
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153
    the sorting and grouping i can't get it to sort right. i just need a report each pay period. the color coding doesn't really matter i was just trying to show the distinctions

  10. #25
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    In both cases the date is your first sort

    In the first report your second sort is last name, then first name, then unit

    in the second report your second sort is unit, then last name, then first name

    I would also work the employee ID in there to to create the right breaks (just in case you have two people with the same surname for example)

  11. #26
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153
    i guess my main problem is i don't need every single fuel card entry in the report only the entries for the two week pay period.

    we do have brothers here so same surname is an issue that's why i did the driver name so it adds the two together for sorting purposes
    Last edited by breakingme10; 01-10-2014 at 09:01 AM. Reason: addtl info

  12. #27
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    oops read wrong post as most recent

  13. #28
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    that's why I said put in the employee ID as part of the sorting/grouping, then you can put the summary (the person's name) in the group header/footer of the employee ID and it will show as you want it.

  14. #29
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153
    but how can i get it to not report all the fuel cards just the ones between the dates in the payperiods query

  15. #30
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    you put a criteria on the data that's running your report that encompasses your pay period.

Page 2 of 3 FirstFirst 123 LastLast
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