hide duplicate groups of records

Rachael

Registered User.
Local time
Today, 16:54
Joined
Nov 2, 2000
Messages
205
Hi All,

The form for this problem is much more complicated but I will try and keep it simple to explain what I want to do.

I have desinged a chemical spray diary for a vineyard where the spray event is entered (single form), then linked to the event the blocks are entered (continuous form). On the continuous blocks form (by way of access trickery) I have embedded another continuous form to hold the chemicals applied to each block. By clicking in the particular blocks record you can view its chemicals. Mostly the chemicals will be the same applied to all listed blocks in an event but sometimes a chemical makeup might be different for one or two blocks. This part all works really well.

The problem comes in creating a report to represent all this. I can get reports to present the data that groups an event then lists each block with its applied chemicals (this is long and repetitious if the same chemical mix has been applied to all blocks).

I can get a report to present data that groups events then lists the blocks sprayed and the first chemical mix applied to the first block ( this is Ok if the chemical mix is the same for all blocks). This report is good 'cos its much shorter but could be innaccurate if the tank mix is altered on a particuluar block.

What I would like is a report that groups chemical mixes when they are the same and lists the blocks for that mix. I think I need to group by a group of records or hide a duplicate group of records. I don't know if this is possible.
My reports are made up of three subreports - one for the event, one to list the blocks and one to list the chemicals applied to each block.

Any thoughts appreciated.

Rachael
 
You could try going into the SORTING AND GROUPING properties of the report. Select the field that you want it grouped by and set it as a group header. For every MIX (group header) you have, you can place the block filed in the DETAIL section of the group. It should turn out like..

MIX 1
Block 1
Block 2
Block 5

MIX 2
Block 3
Block 4
Block 6

I think this should do it, If I am understanding what you want.
 
Hi Jeremie,

Thanks for your reply, I wish it were that easy!. The major problem is that each block has a compliment of chemicals applied to it. In most cases that compliment is the same so I can get a report to list the blocks on one side of the report and the chemicals on the other side by using sub reports etc. but, (theres always a but!) What if one block has an extra chemical added, I need to separate out that block and list its compliment of chemicals.

I can list chemicals with each block individually but the report uses about 10 trees to do this. I'm trying to get a report that only uses 2 trees.

eg.

Block 1 Sulphur 3kg
Block 2 Copper 2.5 kg
Wetter 20 mL

Block 3 Sulphur 3 kg
 
Hi Jeremie,

Thanks for your reply, I wish it were that easy!. The major problem is that each block has a compliment of chemicals applied to it. In most cases that compliment is the same so I can get a report to list the blocks on one side of the report and the chemicals on the other side by using sub reports etc. but, (theres always a but!) What if one block has an extra chemical added, I need to separate out that block and list its compliment of chemicals.

I can list chemicals with each block individually but the report uses about 10 trees to do this. I'm trying to get a report that only uses 2 trees.

eg.
_____________________________________
Block 1 Sulphur 3kg
Block 2 Copper 2.5 kg
Block 3 Wetter 20 mL
_____________________________________
Block 4 Sulphur 3 kg
Copper 2.5 kg
Rovral 100 mL
Wetter 20 mL



So, somehow I need to be able to group the chemicals on each block, then compare, reassign a number for linking ie if Block 1 linking field is 22 then make Block 2 and 3 be 22 as well so then the chemical group will list for those blocks.

Hope this makes sense, I have fiddled with KB141624 How to concatenate a list of items from a many-side table to get the chemcial ID's in one field for comparison but thats it so far.
 
Sorry for posting twice. the aliens seem to have taken over my computer, I didn't even get to finish the second time and away it went.

Thanks to all,

Rachael
 

Users who are viewing this thread

Back
Top Bottom