Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Data Connectivity
Message Icon Topic: String Comparison Post Reply Post New Topic
Author Message
Franc
Newbie
Newbie


Joined: 30 Nov 2015
Location: Austria
Online Status: Offline
Posts: 2
Quote Franc Replybullet Topic: String Comparison
    Posted: 10 Dec 2015 at 7:13am

Heloo all
How can I compare two string in Crystal REPORTS 11?

database field = 'Z888888'
databsase field <> 'Z888888'


database field is
Character string
VARCHAR(n)

thanks in advance
IP IP Logged
praveeng
Senior Member
Senior Member
Avatar

Joined: 11 Jul 2011
Online Status: Offline
Posts: 165
Quote praveeng Replybullet Posted: 27 Dec 2015 at 8:46pm
Hi,

As per my understanding, you want to categerize numbers and Varchars then use below logic,

If IsNumeric(Database_Field) then
     "Number field"
Else
     "Varachar Filed"

--Praveen G
Praveen Guntuka,
praveen_guntuka@yahoo.com
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.