Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do I compare 2 fields in a table?

Status
Not open for further replies.

marius1986

Technical User
Feb 7, 2011
60
RO
Hi all
I am having a problem with a call by call report. I am trying to compare 2 fields , one with text and one with string but I don't know how. I've tried to convert the text into string using the val function but it returns 0. This is my case: "INTERCALL_ID: 57824301 DEST" is the associated data and the 57824301 is the call ID field.
I've tried the formula:
if val(mid({eCallByCallStatYYYYMMDD.AssociatedData},15,8))={eCallByCallStatYYYYMMDD.CallID} then {CallByCallStatYYYYMMDD.Source}
Is it correct or it easier to convert the string to text?

Thanks a lot!
 
You can do this with a variable, but you didn't address the issues I mentioned in my last post.

-LB
 
Events in the Call by Call Statistics report are grouped by call ID. Each call event has his unique ID .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top