Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Formula Question Post Reply Post New Topic
Author Message
bigmax098
Newbie
Newbie


Joined: 08 May 2008
Location: United Kingdom
Online Status: Offline
Posts: 14
Quote bigmax098 Replybullet Topic: Formula Question
    Posted: 08 May 2008 at 8:58am
Hi,

I am looking to select sales orders by a certain customer PO prefix and number of characters. Basically, I want  "salesorder.ponumber" to display when "salesorder.ponumber" = "XP and then 8 characters....so basically "XP********"

I tried a few things, like "salesorder.ponumber like "xp*"" but this returns all po numbers that start with "XP." I only want them to show up if they have xp and 8 digits afterwards.

Any formula ideas? Let me know, thanks!!!


IP IP Logged
Lugh
Senior Member
Senior Member
Avatar

Joined: 14 Nov 2007
Online Status: Offline
Posts: 377
Quote Lugh Replybullet Posted: 08 May 2008 at 9:23am
Use the question mark to indicate a single character.  So, you'd be looking for:

"XP????????"


IP IP Logged
bigmax098
Newbie
Newbie


Joined: 08 May 2008
Location: United Kingdom
Online Status: Offline
Posts: 14
Quote bigmax098 Replybullet Posted: 08 May 2008 at 9:43am
Alright, that worked! thanks!
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.031 seconds.