Hi,
I have 3 tables namely;
General_tbl
- ID = pri = ai
- Warranty = varchar =Y/N
- Name = varchar
- Addr = text
- Device = varchar
- SN = varchar
Warranty_tbl
- ID = pri
- Device
- SN
Non_Warranty_tbl
- ID = pro
- Device
- SN
Basically what I'm trying to achieve is when users capture or Insert to the general_tbl it'll automatically insert to either the Warranty_tbl or Non_Warranty_tbl based on the field selected in General_tbl. I cannot seem to find this in the forum as you cannot use the where clause when inserting into another table.
Thanks
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=24293&image=1&table=forumtopics' class='bbc_emoticon' alt=':unsure:' />