Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

i have table (x) that have primary

Status
Not open for further replies.

TIPtip

Programmer
Jan 5, 2004
9
SI
i have table (x) that have primary key from two fields(a,b).
When i insert values in another table (y) into fields a1 and b1 and i choose from lookup table(x) field(a) from table x i want that automaticaly field b1 is filled with value b from table x.

how to do this?

Are thre any triggers?
 
You can't do this. If the key is a plus b then a does not determine b and no trigger can guess its value.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top