fieldlen question
Jeff Harrison
jeffaharrison at yahoo.com
Mon Jan 8 07:28:33 PST 2007
--- Don Coleman <dcoleman at dgcreact.com> wrote:
> Attempting to use fieldlen to determine the length
> of individual fields I
> need to string together and trim by priority.
> Clearly I have something
> incorrect because in the example below AB=0. Could
> someone point out my
> error so that AB=7 (COLEMAN being 7 characters).
>
> Processing: test
>
> 1 ------- - - - - - - - - - -
> - - - - - -
> If:
> Then: end
> 2 ------- - - - - - - - - - -
> - - - - - -
> @ENTSEL If:
> Then: AA(10,*)="COLEMAN"
> 3 ------- - - - - - - - - - -
> - - - - - -
> If:
> Then: AB=fieldlen(-,AA)
> 4 ------- - - - - - - - - - -
> - - - - - -
> If:
> Then: SHOW "AB="{AB;display
> 5 ------- - - - - - - - - - -
> - - - - - -
> If:
> Then: end
>
I believe you just need to remove the dash and the
comma in your fieldlen statement. As you have it, it
appears that you are asking for the length of the
field "COLEMAN" in the current filepro file which of
course is not defined.
Good Luck.
Jeff Harrison
jeffaharrison at yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Filepro-list
mailing list