dbTalk Databases Forums  

Repeating Fields

comp.databases.filemaker comp.databases.filemaker


Discuss Repeating Fields in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rich Sagall
 
Posts: n/a

Default Repeating Fields - 11-14-2005 , 03:23 PM






I have FM8 Pro Advanced. I have ieldA with 10 repetitions. I want to
write a script to create fieldBwith data from all 10 of the repetitions
of fieldA. I can do this by writing out 10 set steps to create fieldB,
but that's an inelegant way to do.

I was told FM8 lets you do a lot more with repeating fields. Is this
true and, if so, how would I accomplish task in an elegant way?

Thanks,

Rich

Reply With Quote
  #2  
Old   
Bill Marriott
 
Posts: n/a

Default Re: Repeating Fields - 11-14-2005 , 05:56 PM






Rich,

Do you mean, transform the ten reps of FieldA into ten records of FieldB?
That is accomplished using an import that splits repetitions, usually.

A calculation by itself cannot create records.

If the two tables were related, you could also use, in FieldB of TableB

GetRepetition ( TableA::FieldA; Get ( RecordNumber ))

which will pull across the matching repetition from FieldA of TableA. (But
only the first record returned by the relationship!)

Bill

"Rich Sagall" <rich.sagall (AT) pobox (DOT) com> wrote

Quote:
I have FM8 Pro Advanced. I have ieldA with 10 repetitions. I want to
write a script to create fieldBwith data from all 10 of the repetitions
of fieldA. I can do this by writing out 10 set steps to create fieldB,
but that's an inelegant way to do.

I was told FM8 lets you do a lot more with repeating fields. Is this
true and, if so, how would I accomplish task in an elegant way?

Thanks,

Rich



Reply With Quote
Reply




Thread Tools
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

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.