C
Cecilia
Hi,
Hopefully someone knows this: I have a table in Access that looks like this:
species A
species B species C .. species X
ID1 Y-coordinate1 X-coordinate 1 1 0
1 ID2 Y-coordinate2 X-coordinate 2 1
1 0
ID3 Y-coordinate3 X-coordinate 3 0 0
1
and I want it to look like this:
ID1 Y-coordinate1 X-coordinate1 species A 1
ID1 Y-coordinate1 X-coordinate1 species C 1
ID2 Y-coordinate2 X-coordinate2 species A 1
ID2 Y-coordinate2 X-coordinate2 species B 1
ID3 Y-coordinate3 X-coordinate3 species C 1
So what I want is to rearrange the information in the first table so it
looks like the second example. There will be several rows with information
for ID1 (as many row as species with value=1, value=0 should be excluded). I
want to have all species information in one column not in several as in the
first example.
Thanks!
Hopefully someone knows this: I have a table in Access that looks like this:
species A
species B species C .. species X
ID1 Y-coordinate1 X-coordinate 1 1 0
1 ID2 Y-coordinate2 X-coordinate 2 1
1 0
ID3 Y-coordinate3 X-coordinate 3 0 0
1
and I want it to look like this:
ID1 Y-coordinate1 X-coordinate1 species A 1
ID1 Y-coordinate1 X-coordinate1 species C 1
ID2 Y-coordinate2 X-coordinate2 species A 1
ID2 Y-coordinate2 X-coordinate2 species B 1
ID3 Y-coordinate3 X-coordinate3 species C 1
So what I want is to rearrange the information in the first table so it
looks like the second example. There will be several rows with information
for ID1 (as many row as species with value=1, value=0 should be excluded). I
want to have all species information in one column not in several as in the
first example.
Thanks!