container info

FMP v9 adv. Win XP

Long time ago I discovered you can get some info on an imported picture that
is in a container by defining a simple calculation.

MyContainer
cMyInfo < text ; MyContainer >

When I have imported the picture in the first field the second returns
something like this:
size:216,222
image:MyPic.jpg
imagewin:/C:/Documents and Settings/Ursus/MyPic.jpg

Now I want to work with this data and filter off the last bit. Whatever I
tried I can't do it. Even performing a Length ( cMyInfo ) < Number > returns
a 0. It seems like this information is not realy there. Any type of
position, right, left (etc) returns nonsense. Tried GetAsText also, but no
result.

Anyone any idea?

Keep well, Ursus
ursus.kirk [ Sa, 11 August 2007 15:31 ] [ ID #1792649 ]

Re: container info

Some more on this.

it does work when i use separate calculattion. But it doesn't work when I
use a LET

Let ( [
FULL = MyContainer ;
LENG = Length ( Full ) ] ;
full & "¶" & GetAsText ( LENG )
)

This returns length as 0

"Ursus" <ursus.kirk [at] wanadoo.nl> schreef in bericht
news:46bdba47$0$3885$dbd41001 [at] news.wanadoo.nl...
> FMP v9 adv. Win XP
>
> Long time ago I discovered you can get some info on an imported picture
> that is in a container by defining a simple calculation.
>
> MyContainer
> cMyInfo < text ; MyContainer >
>
> When I have imported the picture in the first field the second returns
> something like this:
> size:216,222
> image:MyPic.jpg
> imagewin:/C:/Documents and Settings/Ursus/MyPic.jpg
>
> Now I want to work with this data and filter off the last bit. Whatever I
> tried I can't do it. Even performing a Length ( cMyInfo ) < Number >
> returns a 0. It seems like this information is not realy there. Any type
> of position, right, left (etc) returns nonsense. Tried GetAsText also, but
> no result.
>
> Anyone any idea?
>
> Keep well, Ursus
>
>
ursus.kirk [ So, 12 August 2007 13:15 ] [ ID #1793165 ]
Datenbanken » comp.databases.filemaker » container info

Vorheriges Thema: Filemaker 8 crashes when used under SharedView
Nächstes Thema: Fields disappear in Preview, Print and PDF