Hi, I am totally new in Access, so please correct me if my ideas are nonsense
I have a simple table with just a few fields. It was designed to record the information about valves used in machine we are building up. There is a field for number of valve terminal in which is the valve located and some other fields. What I need is to generate a unique name of the valve. This name will be used by a programmer. This name has a fixed format: xYzz, where x is the number of valve terminal where is this valve, "Y" is constant letter, and zz is a order number of the valve in the valve terminal. For example 3Y6 is the sixth valve in terminal no.3. I thought I can use the calculated filed to populate the name, but I do not know how to get the first free number in the chosen terminal.
[Valve_terminal] & "Y" gifts me the first part of the name but how can I generate the order number?
Or am I wrong and this should not be done in a table?
Thanks for any help.