Hi,
I am having two tables for tools
tbl_tool_type(Tool_type_auto_number( auto number & PK), tool_type) other tbl_tools(tool_type_auto_number, tool_barcode. tool_acticeinactive).
There can be more than one tool of same type and all that are listed in tbl_tools, but the corresponding tool_type_auto_number is picked from tbl_tools. But tbl_tool_type has all unique tool_types. Bascically its one-to-many relationship from tbl_tool_typr to tbl_tools.
But the problem is I am adding a new tool(from existing tooltypes) in the form with a new barcode, its saving as a new tool type in tbl_tool_type with new auto number. But what it should do is save a new barcode and existing auto number of that tool type on tbl_tools.
Can any one figure out what is the problem with the autonumber
I am having two tables for tools
tbl_tool_type(Tool_type_auto_number( auto number & PK), tool_type) other tbl_tools(tool_type_auto_number, tool_barcode. tool_acticeinactive).
There can be more than one tool of same type and all that are listed in tbl_tools, but the corresponding tool_type_auto_number is picked from tbl_tools. But tbl_tool_type has all unique tool_types. Bascically its one-to-many relationship from tbl_tool_typr to tbl_tools.
But the problem is I am adding a new tool(from existing tooltypes) in the form with a new barcode, its saving as a new tool type in tbl_tool_type with new auto number. But what it should do is save a new barcode and existing auto number of that tool type on tbl_tools.
Can any one figure out what is the problem with the autonumber