MajP
You've got your good things, and you've got mine.
- Local time
- Today, 12:33
- Joined
- May 21, 2018
- Messages
- 9,990
Looking at your data
tbl_Org tbl_Org
I see Org and BankID as unique. However this could just be an example and not representative. If it is unique then this whole thing can be simplified.
If I pick ABC I can pick 001-003, and all the other fields are defined by that combination. If that rule is true then you simply display the other fieds
I do not know if that is true and could be just this example.
Could you have multiple records of ABC 001 with different bank names, CBKACName, etc.
tbl_Org tbl_Org
| ORG | BankId | BankName | CBKACName | CBKAC | CBKACName_cbk | CBKAC_cbk |
|---|---|---|---|---|---|---|
| ABC | 001 | ABC Bank | ABC_cbAC | 1234567890 | PQR_cbAC | 3712345678 |
| ABC | 002 | PQR Bank | ABC_cbAC | 1234567890 | NA | NA |
| ABC | 003 | XYZ Bank | ABC_cbAC | 1234567890 | NA | NA |
| ABC | 004 | NA | NA | NA | NA | NA |
| PQR | 001 | ABC Bank | PQR_cbAC | 3712345678 | NA | NA |
| PQR | 002 | PQR Bank | PQR_cbAC | 3712345678 | ABC_cbAC | 1234567890 |
| PQR | 003 | XYZ Bank | PQR_cbAC | 3712345678 | NA | NA |
| PQR | 004 | NA | NA | NA | NA | NA |
If I pick ABC I can pick 001-003, and all the other fields are defined by that combination. If that rule is true then you simply display the other fieds
I do not know if that is true and could be just this example.
Could you have multiple records of ABC 001 with different bank names, CBKACName, etc.