icduvall82
New Member
- Joined
- Feb 11, 2013
- Messages
- 2
Hi,
If i have 2 related tables that look something like this:
Table 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]Ref#[/TD]
[/TR]
[TR]
[TD]a[/TD]
[/TR]
[TR]
[TD]b[/TD]
[/TR]
[TR]
[TD]c[/TD]
[/TR]
</tbody>[/TABLE]
Table 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]Ref#[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]b[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD]9[/TD]
[/TR]
</tbody>[/TABLE]
Can I add the Min / Max values from table 2 to table 1, so results would be:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Ref#[/TD]
[TD]MinValue[/TD]
[TD]MaxValue[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]1[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]b[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD]5[/TD]
[TD]9[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be much appreciated.
Ian
If i have 2 related tables that look something like this:
Table 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]Ref#[/TD]
[/TR]
[TR]
[TD]a[/TD]
[/TR]
[TR]
[TD]b[/TD]
[/TR]
[TR]
[TD]c[/TD]
[/TR]
</tbody>[/TABLE]
Table 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]Ref#[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]b[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD]9[/TD]
[/TR]
</tbody>[/TABLE]
Can I add the Min / Max values from table 2 to table 1, so results would be:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Ref#[/TD]
[TD]MinValue[/TD]
[TD]MaxValue[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]1[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]b[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD]5[/TD]
[TD]9[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be much appreciated.
Ian