Author Topic: Maximum number of Code Replacement fields?  (Read 5164 times)

Offline FairfieldPhoto

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • Fairfield Photography, LLC
Maximum number of Code Replacement fields?
« on: May 11, 2012, 01:20:50 PM »
I am trying to replace in a number of fields, but it seems to stop working at \{caption}#9\.  I need a 9th and 10th field for this project.

Limitation or something I am doing wrong?

-Mike
Windows
PM V4.6.8

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24730
    • View Profile
    • Camera Bits, Inc.
Re: Maximum number of Code Replacement fields?
« Reply #1 on: May 11, 2012, 01:52:05 PM »
Mike,

Can you give me a small sample file so I can try it out and see what the problem might be?

Thanks,

-Kirk

Offline FairfieldPhoto

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • Fairfield Photography, LLC
Re: Maximum number of Code Replacement fields?
« Reply #2 on: May 11, 2012, 02:12:28 PM »
Sure,
Remind me again how to get you attachments?

-Mike

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24730
    • View Profile
    • Camera Bits, Inc.
Re: Maximum number of Code Replacement fields?
« Reply #3 on: May 11, 2012, 02:36:58 PM »
Mike,

Remind me again how to get you attachments?

Use the 'Attachments and other options' link when you're composing your reply to this message and there you'll be able to attach your sample file.

Thanks,

-Kirk

Offline FairfieldPhoto

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • Fairfield Photography, LLC
Re: Maximum number of Code Replacement fields?
« Reply #4 on: May 11, 2012, 06:41:03 PM »
Here you go Kirk.  The 10th column is either null or the word "RELEASED"

You know, I looked right at the "attachments and other options" and it never registered.  Maybe time for a vacation?

:)

-Mike

[attachment deleted by admin]

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24730
    • View Profile
    • Camera Bits, Inc.
Re: Maximum number of Code Replacement fields?
« Reply #5 on: May 15, 2012, 03:15:40 PM »
Here you go Kirk.  The 10th column is either null or the word "RELEASED"

You do know that you need to use something like:
=103#9=

(My Code Replacement delimiter is '=')

...in order to get 'RELEASED' to appear, right?

And if you want to have inner blank columns you need to include the tabs for those columns anyway.  Example (note that last column with 'Baz' in it) :

Code: [Select]
103 Kate Pop 7-9 Team 4 0 24 CK 2073 "INDIV, MM" Hilltop YMCA RELEASED Baz

Note that after RELEASED I have two additional empty columns followed by the column containing 'Baz' which would be addressed as =103#12=
The RELEASED column would still be =103#9= for replacement.

I tested on the Mac version though you didn't state which system you use.

-Kirk

Offline FairfieldPhoto

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • Fairfield Photography, LLC
Re: Maximum number of Code Replacement fields?
« Reply #6 on: May 15, 2012, 04:41:53 PM »
Thanks Kirk. The file I sent was tab delimited and works fine for the first 8 columns, even when there are nulls. It just stops replacing for fields 9 and 10. I will try with an equal sign to see if the problem changes.

I am using Windows. It was on the original post, but probably should have repeated to save you the scrolling.

Mike

Offline FairfieldPhoto

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • Fairfield Photography, LLC
Re: Maximum number of Code Replacement fields?
« Reply #7 on: November 09, 2012, 05:18:20 PM »
I finally had an opportunity to try the code replacement again with more than 8 fields.  The group I am working with called for more fields. 

I am still not able to get columns beyond 8 to resolve in the text replacement.  I am building my code replacement file in Excel and then export to text format.  This works great for columns 1-8, but whenever I try to put anything in columns 9 and beyond, it does not resolve.

I am using "\" as my delimiter in PM.  Running Windows 7.  PM 5.0 Build 13444.  I can replicate this pretty easily. 

I could send you a replacement file privately if that would help.

-Mike

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24730
    • View Profile
    • Camera Bits, Inc.
Re: Maximum number of Code Replacement fields?
« Reply #8 on: November 09, 2012, 05:31:37 PM »
Mike,

I finally had an opportunity to try the code replacement again with more than 8 fields.  The group I am working with called for more fields. 

I am still not able to get columns beyond 8 to resolve in the text replacement.  I am building my code replacement file in Excel and then export to text format.  This works great for columns 1-8, but whenever I try to put anything in columns 9 and beyond, it does not resolve.

I am using "\" as my delimiter in PM.  Running Windows 7.  PM 5.0 Build 13444.  I can replicate this pretty easily. 

I could send you a replacement file privately if that would help.

Yes, please.  I was never able to reproduce the problem with my own files on a Mac system running PM 4.6.9 (at that time.)

-Kirk

Offline FairfieldPhoto

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • Fairfield Photography, LLC
Re: Maximum number of Code Replacement fields?
« Reply #9 on: November 09, 2012, 05:42:56 PM »
Disregard.  Found the problem on my end while trying to scrub the text file of player personal information.

My bad.  Applying repeated strikes of ruler to backs of both sets of knuckles.

-Mike