Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Asterik (*) as text object Post Reply Post New Topic
Author Message
bobged
Newbie
Newbie


Joined: 20 Jul 2009
Online Status: Offline
Posts: 2
Quote bobged Replybullet Topic: Asterik (*) as text object
    Posted: 20 Jul 2009 at 9:45am

Our company database has a field that uses an asterik (*) to indicate obsolete items. When I try to run a formula to exclude those obsolete items, Crystal is treating the asterik as a wild card, and of course not showing any records. Here's the formula: Itm.age <> "*"

Is there some way to have it read as a text object rather than an wild card? TIA, Bob

IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 20 Jul 2009 at 9:54am
try
instr({Itm.age},'*')=0
IP IP Logged
bobged
Newbie
Newbie


Joined: 20 Jul 2009
Online Status: Offline
Posts: 2
Quote bobged Replybullet Posted: 20 Jul 2009 at 11:03am
Originally posted by DBlank

try instr({Itm.age},'*')=0
Works like a charm.  Muchas gracias! Thumbs%20Up
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.030 seconds.