By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,654 Members | 1,840 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,654 IT Pros & Developers. It's quick & easy.

Numbers in access

P: 3
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
Dec 17 '06 #1
Share this Question
Share on Google+
3 Replies


PEB
Expert 100+
P: 1,418
PEB
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!
Dec 17 '06 #2

P: 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)
Dec 17 '06 #3

NeoPa
Expert Mod 15k+
P: 31,487
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 :
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
Expand|Select|Wrap|Line Numbers
  1. Table Name=tblStudent
  2. StudentID; Autonumber; PK
  3. Family; String; FK
  4. Name; String
  5. University; String; FK
  6. MaxMark; Numeric
  7. 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.
Dec 17 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.