08-29-2005 01:10 PM
08-29-2005 02:38 PM
08-29-2005 03:26 PM
08-29-2005 04:20 PM - edited 08-29-2005 04:20 PM
Message Edited by tbob on 08-29-2005 03:22 PM
08-29-2005 04:51 PM
08-29-2005 09:37 PM
Thanks tbob and altenbach for making efforts.
Tbob's trickysort.vi works exactly like I need. Altenbach's matchfirst.vi seems not work well. Only works by doulb-clicking the second row.
Anyhow, thank you very much. I really learned a lot. Before, I did not try to use this help source so that I sometimes spent days in working on a small program.
08-30-2005 02:09 AM
@detech wrote:
Tbob's trickysort.vi works exactly like I need. Altenbach's matchfirst.vi seems not work well. Only works by doulb-clicking the second row.
08-30-2005 10:46 AM
I still can not make it.
lets see:
aaa www
bbb ffff
ccc bbb
ddd aaa
eee bbb
ffff aaa
rrr ccc
ppp ffff
www rrr
shoud be like (please see rows with aaa):
aaa www
ddd aaa
ffff aaa
bbb ffff
ccc bbb
eee bbb
rrr ccc
ppp ffff
www rrr
You program gives:
aaa www
bbb ffff
ccc bbb
ddd aaa
ffff aaa
eee bbb
rrr ccc
ppp ffff
www rrr
08-30-2005 11:20 AM
Ah well, there comes the "modify as needed" into play. It's all about communicating the exact requirements. 😮
In my example, the matching items in column 2 ARE next to each other as per your specification. You did not clearly specify that the originally clicked column must also be next to them ;), but I guess that's what you actually want.
So, what should happen If I click e.g. the last row (different array data)? Should the matching rows be placed above it? Should the clicked row be moved up?
08-30-2005 01:03 PM