Hi everyone,
Background:
Am developing leave application. Supervisor login> System able to detect any leave awaiting for approval.
My Solution:
- Search by supervisor dept> list out lists of names (this lists are not captured in any particular controls just using normal quries Eg: SELECT blah blah blah.. By blah blah blah... )
- Once having a lists I used this lists of UserID & compared with another table (PendingLeave_Table) to check if their userid exists. If Have activate my controls/ prompt for supervisor approval accordingly.
Questions:
1. Any Ideas what other solution besides mine provides similar results ?
2. Is Union or what other types of quries is appropriate ?
Regards & God Bless, Edison Ler
Background:
Am developing leave application. Supervisor login> System able to detect any leave awaiting for approval.
My Solution:
- Search by supervisor dept> list out lists of names (this lists are not captured in any particular controls just using normal quries Eg: SELECT blah blah blah.. By blah blah blah... )
- Once having a lists I used this lists of UserID & compared with another table (PendingLeave_Table) to check if their userid exists. If Have activate my controls/ prompt for supervisor approval accordingly.
Questions:
1. Any Ideas what other solution besides mine provides similar results ?
2. Is Union or what other types of quries is appropriate ?
Regards & God Bless, Edison Ler