Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Select records ending with an asterisk Post Reply Post New Topic
Author Message
harryzell
Newbie
Newbie
Avatar

Joined: 09 Oct 2007
Location: Australia
Online Status: Offline
Posts: 2
Quote harryzell Replybullet Topic: Select records ending with an asterisk
    Posted: 09 Oct 2007 at 7:42pm
Hi all
 
First time poster here, running v9. I'm trying to select records that end with an asterisk, but am having trouble as this is the wildcard for many characters.
 
Have tried
 
{field} like "**"
 
but this returns all records, as I'm just asking for records with many, many characters.
 
Any suggestions would be appreciated.
 
Thanks
Brenton
 
 
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 10 Oct 2007 at 10:31am
You can use

Right({field},1)="*"

This checks the last character of the string.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
harryzell
Newbie
Newbie
Avatar

Joined: 09 Oct 2007
Location: Australia
Online Status: Offline
Posts: 2
Quote harryzell Replybullet Posted: 10 Oct 2007 at 5:21pm
Thank you, worked great! Cheers.
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.016 seconds.