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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compare Two Database Fields On Report

Status
Not open for further replies.

willdevelope

Programmer
Nov 18, 2005
25
US
I am new to crytal a rookie

How can I compare two database field on report, such as OnSite and Offsite

Example

if onsite don't match offsite
alert "don't match"

Thanks in advance
 
Code:
if {OnSite} <> {Offsite} then "Don't Match"
It helps to give your Crystal version - 8, 8.5, 9, 10, 11 or whatever. Methods sometimes change between versions, and higher versions have extra options. In this case, it probably makes no difference.


[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top