Hello I have below two tables
Main table:
ID(PK,autonumber) => First Name => Last Name=> Emaild ID==> Address ==>
Usertable :
ID (PK, autonumber) => FIrst Name ==> Last Name=> User ID => Password=> Role=>
Now my query is that when data is being imported into Main Table it should import data automatically into usertable as well, My code would only import into Main table not into usertable. therefore auto population of usertable of firstname and lastname is possible ?
Also when I delete the record from maintable pertaining to user it should delete as well from usetable.
Please advise how to do this.
Thanks
Main table:
ID(PK,autonumber) => First Name => Last Name=> Emaild ID==> Address ==>
Usertable :
ID (PK, autonumber) => FIrst Name ==> Last Name=> User ID => Password=> Role=>
Now my query is that when data is being imported into Main Table it should import data automatically into usertable as well, My code would only import into Main table not into usertable. therefore auto population of usertable of firstname and lastname is possible ?
Also when I delete the record from maintable pertaining to user it should delete as well from usetable.
Please advise how to do this.
Thanks