Joined: 09 Oct 2007
Location: Australia
Online Status: Offline
Posts: 2
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.
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
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>
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