GroupRelationInfo ( FileTarget ; TableTarget ; Result )
Rate this function: Average rating: 4.3 (7 votes) Discuss this Custom Function
Agnes Barouh, Tic Tac
http://www.tictac.fr/CoinFileMaker/Page.html
To retrieve a list of occurrences or fields only for a group of links.
Sample Input:
GroupRelationInfo ( Get ( FileName ) ; Get ( LayoutTableName ) ; 0 )
--------------------------
GroupRelationInfo ( Get ( FileName ) ; "cre_CRE_Table" ; 1 ) |
|
Sample Output:
cre_CRE_Table
cre_TAF_TableAndField
cre_CRE_CustomReport
cre_FTA_FileTarget
--------------------------
cre_CRE_Table::zkv_TargetFile
cre_CRE_Table::zkp_IDCustomExport
cre_CRE_Table::ResultatExport
cre_CRE_Table::zkv_TargetTable
cre_CRE_Table::zc_FileTargetTable
cre_TAF_TableAndField::zkp_IDTableAndField
cre_TAF_TableAndField::zkv_ClefMagique
cre_TAF_TableAndField::ColSpan
cre_TAF_TableAndField::RowSpan
cre_TAF_TableAndField::VerticalAlign
cre_TAF_TableAndField::TextAlign
cre_TAF_TableAndField::zks_IDCustomExport
cre_CRE_CustomReport::zkv_TargetFile
cre_CRE_CustomReport::zkp_IDCustomExport
cre_CRE_CustomReport::ResultatExport
cre_CRE_CustomReport::zkv_TargetTable
cre_CRE_CustomReport::zc_FileTargetTable
cre_FTA_FileTarget::zkp_IDTableAndField
cre_FTA_FileTarget::zkv_ClefMagique
cre_FTA_FileTarget::zks_IDCustomExport
cre_FTA_FileTarget::TableField |
|
Description:
-----------------------------------------
it is not a recursive function
Requires CustomList ( start ; End ; Function )
-----------------------------------------
To retrieve a list of occurrences or fields only for a group of links.
3 parameters, the filename and the target occurrence and the desired result
//----------- 3 parameters
FileTarget : Get ( FileName ) or name of a file open or related file
TableTarget : name of the target occurrence, between quotes or Get ( LayoutTableName )
Result : Field or F or 1 or Table or T or 0 ( default : Table )
> If Result = Table or T or 0, returns a list of all occurrences of tables related to "TableTarget".
> If Result = Field ou F ou 1, returns a list of all fields of occurrences of tables related to "TableTarget" as Table::Field
( returns the list of fields contained in a layout if the occurrence in the same name as a layout )
Carreful :
On the code, you have 25 :
(...)
Trigger = CustomList ( 1 ; 25 ; (...)
> Is the RelationInfo_Max : 10 or 200 or n Occurrences related of max 25 Occurrences related in line :
Occurrence1 <-> Occurrence2 <-> [...] <-> Occurrence25
------------
- You can filter the list with FilterList()
http://www.briandunning.com/cf/771
- And you can suggest fields to a user to export only data from an related group.
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:There are no comments yet. Be the first to post a comment about this Custom Function! Please try to keep it brief & to the point. Anyone can post:
|
Newest Custom Functions:
| 1. |
MaxLength ( field, foundCnt ) |
| |
(Thu, Jul 29, 4:37pm) |
| 2. |
DayCounter ( Date_Start ; Date_End; Days_of_Week ) |
| |
(Wed, Jul 28, 1:20pm) |
| 3. |
Is_FM_Go_iPad |
| |
(Fri, Jul 23, 7:55am) |
| 4. |
Is_FM_Go |
| |
(Fri, Jul 23, 7:54am) |
| 5. |
IsFilled ( field ) |
| |
(Wed, Jul 21, 7:19am) |
| 6. |
DateQuarterAsRange ( theDate ) |
| |
(Thu, Jul 15, 5:37pm) |
| 7. |
DateQuarterEnd ( theDate ) |
| |
(Thu, Jul 15, 5:35pm) |
| 8. |
DateQuarterBegin ( theDate ) |
| |
(Thu, Jul 15, 5:30pm) |
 |
|