|
-
Oct 9th, 2000, 06:07 AM
#1
Thread Starter
Fanatic Member
Please, please, please help.
This is doin my head in.
I have a crystal report based on a SQL table. The report is based on Branch number and each section is repeated.
i.e.
Branch Number = 1
Field1 = 23
Field2 = 22
Field3 = 35
Field4 = 25
Total Field = 105
Branch Number = 2
Field1 = 20
Field2 = 15
Field3 = 25
Field4 = 25
Total Field = 85
This is fine everything adds up.
My problem is every so often one of the sections will not add up correctly so instead of the above being 85 the total field will display a lesser figure i.e. 70.
The formula would be as follows:
Total Field = Field1 + Field2 + Field3 + Field4
I can't understand why this is doing this , I have set any nulls to be defaulted to 0 but I know this would not effect this as the database field is set to default to '0' anyway.
Can anybody help.
Gary Lowe 
VB6 (Enterprise) SP5
ADO 2.6
SQL Server 7 SP3
OK I know my spelling and grammer is crap so don't quote me on it!
To err is human to take the P! is only natural !!
Click on the top section of image for Marcus Miller website and bottom section of image for 'Run For Cover' sound clip

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|