Hello everyone.
I am trying to create a drop-down box that displays the values of another field. The problem is that the combo box is both related to the other table, and is part of a composite key.
Table1
ID -Pkey
ContractNo -Fkey
ContractID -Fkey
Table2
ContractNo -Pkey
ContractID -Pkey
What I am trying to do is make a set of two combo boxes. The user would select ContractNo, then be able to select ContractID from a set of second fields based on the first choice. Do I need a special SQL statement to get this to work? I am still quite poor at writing my own statements, so any help here would be greatly appreciated.
I am trying to create a drop-down box that displays the values of another field. The problem is that the combo box is both related to the other table, and is part of a composite key.
Table1
ID -Pkey
ContractNo -Fkey
ContractID -Fkey
Table2
ContractNo -Pkey
ContractID -Pkey
What I am trying to do is make a set of two combo boxes. The user would select ContractNo, then be able to select ContractID from a set of second fields based on the first choice. Do I need a special SQL statement to get this to work? I am still quite poor at writing my own statements, so any help here would be greatly appreciated.