Numbers in access

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tree
    New Member
    • Nov 2006
    • 3

    Numbers in access

    I need help
    I have a access database that keeps track of requested time off work. I created a report that shows time off. However, the hours that appear on the report are one less than the original number.
    So if the form/table shows two hours (2)the report shows one hour (1) etc. How do I fix this to show the right hours.The query shows the correct hours.The table shows the correct hours. This information come from a lutable with auto numbers 1,2,3,4,5,6,7,8 ,9,10,11 as the primary key the hours are 2,3,4,5,6,7,8,9 ,10,11,12

    Thanks
    Tree
  • PEB
    Recognized Expert Top Contributor
    • Aug 2006
    • 1418

    #2
    Originally posted by Tree
    I need help
    I have a access database that keeps track of requested time off work. I created a report that shows time off. However, the hours that appear on the report are one less than the original number.
    So if the form/table shows two hours (2)the report shows one hour (1) etc. How do I fix this to show the right hours.The query shows the correct hours.The table shows the correct hours. This information come from a lutable with auto numbers 1,2,3,4,5,6,7,8 ,9,10,11 as the primary key the hours are 2,3,4,5,6,7,8,9 ,10,11,12

    Thanks
    Tree
    Can u give some info for your query and copy/Paste info from your table /s?

    Coz i'm a bit desoriented with your issue!

    Best regards!

    Comment

    • Tree
      New Member
      • Nov 2006
      • 3

      #3
      Query
      Name Hcv Hours
      Brittany 4 Hcv Hours Group By

      Report
      Date Hcv Hours

      12/15/06 3 these hours do not match the hours in the query


      Table

      Field Name Data Type

      Hcv Hours Number

      Size Long Integer
      Format General Number
      Required no
      Indexed Yes (duplicates ok)

      Comment

      • NeoPa
        Recognized Expert Moderator MVP
        • Oct 2006
        • 32633

        #4
        It sounds like the report is showing the value from the AutoNumber (PK?) field rather than the value required.
        If this is not your problem then you need to post the information more clearly.
        Your last post is weird how the data is laid out. What is the meaning of :
        Originally posted by Tree
        Query
        Name Hcv Hours
        Brittany 4 Hcv Hours Group By
        It makes no sense to me.
        Posting your table MetaData and the SQL of your query would help too.
        Posting Table/Dataset MetaData
        Code:
        [b]Table Name=tblStudent[/b]
        StudentID; Autonumber; PK
        Family; String; FK
        Name; String
        University; String; FK
        MaxMark; Numeric
        MinMark; Numeric
        You would also need to show the ControlSource of the field which isn't working in your report.
        Check out the first bit first though, it may be the problem and save you the trouble.

        Comment

        Working...