Go Back   MarcomCentral (PTI) and FusionPro User Communities > Support > Issues, Questions, Etc.

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old December 3rd, 2019, 07:58 PM
dml1280 dml1280 is offline
Junior Community Member
 
Join Date: Apr 2016
Posts: 19
Default Re: Ampersand in external data file

Sometimes I have a hard time realizing where a FusionPro issue ends and where a MarcomCentral issue starts.

Either way...the UntaggedDataField code worked!

I really appreciate all your back and forth with me.

Thank you again.
Reply With Quote
  #12  
Old December 9th, 2019, 02:58 PM
jwhittaker jwhittaker is offline
Senior Contributor
 
Join Date: Feb 2009
Location: San Diego
Posts: 165
Default Re: Ampersand in external data file

Can you try this
returnStr = '';

if(FusionPro.Composition.isPreview == true || FusionPro.inValidation == true)
{
Rule("OnJobStart");
}

numRecsExtDF = externalDF.recordCount;

for (recordWalker=1; recordWalker <= numRecsExtDF; recordWalker++)
{
if (ReplaceSubstring(externalDF.GetFieldValue(recordW alker, 'Facility'), "&amp;", "&") == Field("Facility"))
{
returnStr += (ReplaceSubstring(externalDF.GetFieldValue(recordW alker, 'Facility'), "&amp;", "&");
}
}

return returnStr;
__________________
FusionPro VDP Creator 10.0.26 | MacOS 10.13.4 | Acrobat DC
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:24 AM.


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