Thanks fredericofonseca/PHV...
These are not the only fields in the file. I only used this example to express the type of sort. In any case, I didn't even think of joining the fields together to make a unique field and then sort by the field.
Thanks again.
Hi:
I have a file and want to sort it based on 4 fields. The file is to be sorted by field 1. While sorting on field 1, sort field 2 and while sorting on field 2, sort field 3 and so on. I am hoping I am explaining this right!!
Here is an example:
(The file is fixed length but for explanation...
LBass:
I'm an IDIOT!
I looked at the formulas one last time and I found the problem. Here was my mistake.
This is your formula:
//{@accum} to be placed in the details section:
whileprintingrecords;
numbervar dur := dur + {@duration};
//{@convertdisplay} to be placed in the group (batch)...
I did recheck the formulas. The only time I am accumulating the time is in {@accum}. I don't have 'suppress if duplicated' checked also.
It's always just the last detail in the group that gets added twice.
I will figure something out. Thanks again, LBass, for all your help.
I thought the only formula in the batch group footer is the {@convertdisplay}.
I am using your formulas you had shown above. I have {@reset} in the batch group header. {@duration} and {@accum} are in the details area. And the {@convertdisplay} is in the batch group footer. I don't have any...
LBass:
LBass, I overlooked one thing. Because I have the {@duration} and {@accum} formulas in the details section, the total time will always add the last process elapsed time again.
Using your example:
LBass
Batch 1 Process 1 02:45:00
Batch 1 Process 2 00:15:12...
The report groups by date and user. It looks like this:
Date: 11/6/04 User: Tweek
Batch 1 Process 1 02:45:53
Batch 1 Process 2 00:18:12
Batch 2 Process 1 05:07:30
Batch 2 Process 2 00:47:15
Batch 2 Process 3 06:23:02
I want to display the detail information (like above) and the...
lbass:
Thanks for your response. I haven't tried your suggestion yet, but would this work for multiple batches? Looking at my initial posting it looks like I would only have 1 batch within a group when, in fact, there may be several batches with different processes in the detail line. Could...
With CR 8.5, I have a report that returns a Batch, Process, and the Time it takes the process to run. The 'Time' field is a string.
What I want to do is to calculate the total time for each batch and place it in the footer. For example, a batch can have 2 lines of data in the report displaying...
Tiny, for this app, I was only using the Kodak Image controls to view and print TIF images. So yes it did work. My company is looking into LEADTOOLS products to handle a variety of images. I am thinking this is the way to go.
Thanks everyone for all the suggestions.
Thanks, guys for your help. Sika2, my code is similar to yours but I can't get it to work. I'll play with it some more and if I still can't get it to work, I'll look to LEADTOOLS to handle the images.
Thanks again.
Outlook Express opens slowly after changing from McAfee Antivirus to Norton AntiVirus
Situation:
You changed your antivirus software from McAfee Antivirus to Norton AntiVirus. When you start Microsoft Outlook Express, it takes much longer to open than it did before.
Solution:
This can happen...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.