I have a productvariant table that contains data like this:
ProductID, SKU, field1, field2, etc
1,1234,red, small
1,1235,red, large
1,1236,red,X-large
2,1237,blue,small
2,1238,blue,medium.
So I have 1 productID with multiple Variants (different sizes)
I'm trying to update a field for just one variant for each product ID. I don't care which one it is. I just need to make one of them the default variant by putting a "1" in one of the fields and "0" in the non default variant fields. I tried to do use the Group By function in the totals query, which will give me the out put I'm looking for:
1,
2,
3, etc
But I can't do an update query from that query.
I know I'm going about this the wrong way. Can anyone point me in the right direction? I'm using Access 2010.
Thanks!