E
erick-flores
It's starting to sound like you data is not normalized.
Hello
You are complete right. That is the way I have my data. Ok, so I need
to add a single field to all of my table (after Cylinders), specifying
the type, right? So I will add a field for my tables:
Type1(component-type) Type2(subtype) Detail (subsubtype)
Comp_valve_asb Comp_valve_parts
Packing_case_asb Cups
Packing_case_parts
packing_set_det Gaskets
Piston_rod_asb Compressor_rods
Nuts
Pistons
Piston_rings
Rider Rings
unloaders
Is that what I need to do? add a field that says type1 under my
Comp_valve_asb, type2 under Comp_valve_parts and then the detail group
will be left for the subsubtypes.
Now, once I add those fields to my tables (if thats the right way to do
it) how would I use this types in my reports to group by type? How do I
create the query for my report? and what about some code (if needed)
behind the type's groups?
Again, thank you
There should be a single field in the record source
table/query that contains the component type (e.g. Valve,
Gaskets or Piston) and another field for subtype (e.g.
Gasket, Rod, Nuts, etc). Maybe you even have a subsubtype
for rings? Anyway, these 3 or 4 fields are what should be
specified in Sorting and grouping. This would only require
3 or 4 groups, not more than 10.
Hello
You are complete right. That is the way I have my data. Ok, so I need
to add a single field to all of my table (after Cylinders), specifying
the type, right? So I will add a field for my tables:
Type1(component-type) Type2(subtype) Detail (subsubtype)
Comp_valve_asb Comp_valve_parts
Packing_case_asb Cups
Packing_case_parts
packing_set_det Gaskets
Piston_rod_asb Compressor_rods
Nuts
Pistons
Piston_rings
Rider Rings
unloaders
Is that what I need to do? add a field that says type1 under my
Comp_valve_asb, type2 under Comp_valve_parts and then the detail group
will be left for the subsubtypes.
Now, once I add those fields to my tables (if thats the right way to do
it) how would I use this types in my reports to group by type? How do I
create the query for my report? and what about some code (if needed)
behind the type's groups?
Again, thank you