Hi all,
Is it possible/advisable to use the Dmax +1 function from the Total created from a query?
I need to increment part numbers by 1 each time a part of a particular component type is created instead of using autonumber.
Code:
SELECT tbl_component_type.Component_Type_ID, tbl_parts.Part_Number, tbl_parts.Part_ID_PK
FROM tbl_component_type INNER JOIN tbl_parts ON tbl_component_type.Component_Type_ID = tbl_parts.Component_Type_ID_FK
WHERE (((tbl_component_type.Component_Type_ID)=[forms]![Copy Of frm_component]![cboSelect_Component_Type]))
ORDER BY tbl_parts.Part_Number;
Above is the SQL for the query, so my plan is to use the total generated by this and simply add 1??