|
There are four bind drop down variables in my form. One
LastvalidTechnician is not bind with any table. The two tables are
connected by ticketnum. When user select AccountMain and enter
LastvalidTechnician. It goes to tableC and match with first 4 digit of
AccountMain if match then goes to tech of tableC and match with
LastvalidTechnician once both match it print the report.Same when user
select OtherAccnt1 it match with the first 4 digit of Corp and then
match the LastvalidTechnician with tech and print the report. Same with
otherAccnt2 and otherAccnt3. Can any one please help me how to i write
a query and then how to pass it into report.
TicketNum of tableA
AccountMain of tableA
TicketNum of tableB
OtherAccnt1 of tableB
OtherAccnt2 of tableB
OtherAccnt3 of tableB
LastvalidTechnician of tableB
Corp of tableC=first 4 digit of all 4 accounts
Tech of tableC
techcont of tableC
REPORT
TicketNum,AccountMain, OtherAccnt1, OtherAccnt2, OtherAccnt3,
LastvalidTechnician,Techcont
Thanks. |