473,387 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Numbers in access

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
3 1343
PEB
1,418 Expert 1GB
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
Tree
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
32,556 Expert Mod 16PB
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

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

Similar topics

6
by: GSpiggle | last post by:
I have a database with records that should have a consecutive number ID (Check Register). Also has other records (deposits and adjusting entries) that don't fit in the number range so...
7
by: Ariel | last post by:
I have a question that I'm hoping someone here can answer. Let's say I have two fields which have a beginning number and an ending number. What I'd like to do is have Access generate a list of...
7
by: Shannan Casteel via AccessMonster.com | last post by:
I have a form for entering part numbers along with the associated quantity for each part. There are 25 Part fields and 25 associated Quantity fields. If I go to record 1 and enter part number 1234...
37
by: MLH | last post by:
For example: Nz(,0) returns "300" if the value in field is 300 (currency data type) and "0" if the value is zero or null. I get strings in the query output - they are all left aligned and I...
2
by: ILCSP | last post by:
Hello, I have this Access 2K query that I need to re-create in MS SQL Server 2000, so I'm using the Query Analyzer to test it. One of the Access fields stores the home phone number. In the...
1
by: Helge's | last post by:
I have a table like this: Numbers 10 20 30 40 How can I make a sql in Access? I want it like this:
9
by: MLH | last post by:
A mailing list table in its virgin state contained sequential, consecutive integers in an autonumber field (A97). I've deleted records throughout the table. Now I would like to identify each...
3
by: emalcolm_FLA | last post by:
Hello and Thanks in advance for any help. I have been tasked with rewriting a christmas assistance database using Access 2003. The old system used pre-assigned case numbers to identify...
14
by: thehobbit | last post by:
Hi, Could anyone give ideas on how to add 4 20 digit numbers in ANSI C and pass the result back to a calling program in COBOL? We were able to add up to 15 digit numbers without any problems,...
7
by: DefaultWorkgroup | last post by:
Good Morning Ladies and Gentleman. My question is in MS Access 2000 (I know is old, is all I have) I’m basically a Newbie in this posting of new threads and in the MS Access as well. I...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.