Hi guys, a confusing thread title I know, I am struggling to define the question that is why I am struggling to find the answer. Here goes:
I have got a table with the following composite primary key fields:
Product_ID
Product_Version
I want the Product_Version to increment by 1 everytime I add a new version of the product. Therefore when I open a form I am looking for the code to check the current Product_Version for that Product_ID and add 1. If there is no current Product_Version I want it to return the value 1.
Any ideas? I am sure there is quite a simple way but I cannot seem to work it out.
Thanks.
I have got a table with the following composite primary key fields:
Product_ID
Product_Version
I want the Product_Version to increment by 1 everytime I add a new version of the product. Therefore when I open a form I am looking for the code to check the current Product_Version for that Product_ID and add 1. If there is no current Product_Version I want it to return the value 1.
Any ideas? I am sure there is quite a simple way but I cannot seem to work it out.
Thanks.