![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Is it possible to fill a value list with the field names from another table? I'm interested in doing this dynamically, so that if I need to add some fields in that particular table, the main table will adopt the text field names automatically. I'm doing this as a way of matching questions being asked, to fields that match each answer in another table. |
#4
| |||
| |||
|
|
Is it possible to fill a value list with the field names from another table? I'm interested in doing this dynamically, so that if I need to add some fields in that particular table, the main table will adopt the text field names automatically. I'm doing this as a way of matching questions being asked, to fields that match each answer in another table. |
#5
| |||
| |||
|
|
Put all the fields you want on a particular layout. Create a stored calc field that is: FieldNames ( Get(FileName) ; layoutName ) Or you can specify a table name instead of the layout name if you just want to list all fields in the table. Base your value list on this calc field. |
#6
| |||
| |||
|
|
On Tue, 18 Oct 2005 11:14:38 -0700, Wes <wchester (AT) lostXXXpants (DOT) com wrote: Is it possible to fill a value list with the field names from another table? I'm interested in doing this dynamically, so that if I need to add some fields in that particular table, the main table will adopt the text field names automatically. I'm doing this as a way of matching questions being asked, to fields that match each answer in another table. I'm using FM 7 Developer. ------------------------ Wes http://www.LostPants.com |
#7
| |||
| |||
|
|
Wes wrote on (10/18/2005): On Tue, 18 Oct 2005 11:14:38 -0700, Wes <wchester (AT) lostXXXpants (DOT) com wrote: Is it possible to fill a value list with the field names from another table? I'm interested in doing this dynamically, so that if I need to add some fields in that particular table, the main table will adopt the text field names automatically. I'm doing this as a way of matching questions being asked, to fields that match each answer in another table. I'm using FM 7 Developer. ------------------------ Wes http://www.LostPants.com Create a global calc field: gYourFields = FieldNames ( Get (FileName) ;"Your Layout Name" ). Define a value list to take its values from gYourFields. Matt |
![]() |
| Thread Tools | |
| Display Modes | |
| |