E
Eric
Hi: When i run my query it join with Mid(tpr.AccountNum,1,5) which is
like that 00000 is it possible before i join thru mid i will convert
the AccountNum into number as ti.tech is an integer in my database of
same size.
Thanks,
SELECT ti.CORP, ti.TECH, ti.TECHCONT, tj.LstVldTech, [tpr].[Status] AS
Expr1, tpr1.TicketNum, tpr1.AccountNum
FROM ([select tpr.*, Mid(tpr.AccountNum,1,5) as tprCorp from
tbl_PPVResearch AS tpr]. AS tpr1 INNER JOIN tech_id AS ti ON
tpr1.tprCorp = ti.CORP) INNER JOIN tbl_validDisputes AS tj ON ti.TECH =
tj.LstVldTech
WHERE ((([tpr].[Status])="Complete") AND
((tpr1.TicketNum)=[tj].[ticketnum]));
like that 00000 is it possible before i join thru mid i will convert
the AccountNum into number as ti.tech is an integer in my database of
same size.
Thanks,
SELECT ti.CORP, ti.TECH, ti.TECHCONT, tj.LstVldTech, [tpr].[Status] AS
Expr1, tpr1.TicketNum, tpr1.AccountNum
FROM ([select tpr.*, Mid(tpr.AccountNum,1,5) as tprCorp from
tbl_PPVResearch AS tpr]. AS tpr1 INNER JOIN tech_id AS ti ON
tpr1.tprCorp = ti.CORP) INNER JOIN tbl_validDisputes AS tj ON ti.TECH =
tj.LstVldTech
WHERE ((([tpr].[Status])="Complete") AND
((tpr1.TicketNum)=[tj].[ticketnum]));