Go Back   PTI Marketing Technologies User Community > Software-Related Talk > The JavaScript Library > Graphic Rules

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 14th, 2014, 11:56 AM
bkurzbuch bkurzbuch is offline
Regular Contributor
 
Join Date: May 2014
Posts: 64
Default Graphic rule using just first 3 digits

I am new to fusionPro and need some assistance in creating a graphic rule. I have a data source with 1 field being a long string of numbers. Example (911-26427-4-48251051).
i need to know how to word the rule so it uses just the first 3 digits to bring in a specific image. The data is a long serial number and the first 3 numbers reference a specific product. Thank You
Reply With Quote
  #2  
Old August 14th, 2014, 01:01 PM
step's Avatar
step step is offline
Senior Contributor
 
Join Date: Jan 2010
Location: Charlotte, NC
Posts: 921
Default Re: Graphic rule using just first 3 digits

You can use the Left function to capture the first 3 characters of the string:
Code:
Left(Field("number"),3);
__________________
Ste Pennell
FusionPro VDP Creator 9.3.15
Adobe Acrobat X 10.1.1
Mac OS X 10.12

LinkedIn
Reply With Quote
  #3  
Old August 14th, 2014, 01:13 PM
bkurzbuch bkurzbuch is offline
Regular Contributor
 
Join Date: May 2014
Posts: 64
Default Re: Graphic rule using just first 3 digits

Thank You Kind Sir. Works like a charm
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:36 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.