Clip Manager 4:Clip Manager Bridge plug-in
From myFMbutler wiki
Contents
|
What is the Clip Manager Bridge Plug-in?
The Clip Manager Bridge plug-in is a FileMaker Plug-in The occurrences selector uses this plug-in to obtain information from the current database, so it can populate the HUD dialog.
Where to find?
By default Clip Manager installs the Clip Manager Bridge at start up in the folder: ~user/Library/Application Support/FileMaker Extensions/
Although the plug-in is developed for use with Clip Manager 4, the plug-in can be used within FileMaker as well.
External Functions
mFMb_CMB_GetTables
Description
Returns the name of every occurrence.
Parameters
Optional parameters are reserved words:
Use any of these parameters in any combination.
mFMb_CMB_GetTables ( "BaseTableName" ; "TableID" ; "BaseFileName" ; "ModCount" )
mFMb_CMB_GetBaseTables
Description
Returns the name of every base table
Parameters
Optional parameters are reserved words:
Use any of these parameters in any combination.
mFMb_CMB_GetBaseTables ( "TableID" ; "BaseFileName" ; "ModCount" )
mFMb_CMB_GetFields
Description
Returns every field of every occurrence
Parameters
Optional parameters are reserved words:
Use any of these parameters in any combination.
mFMb_CMB_GetFields( "FieldType" ; "FieldClass" ; "FieldReps" ; "ModCount" ; "FieldID" )
mFMb_CMB_GetFieldsFromTable( OccurrenceName )
Description
Returns every field of the occurrence
Parameters
Optional parameters are reserved words:
Use any 5 of these optional parameters in any combination.
mFMb_CMB_GetFieldsFromTable( OccurrenceName ; "FieldType" ; "FieldClass" ; "FieldReps" ; "ModCount" ; "FieldID" )
mFMb_CMB_GetBaseTableFromTable( OccurrenceName )
Description
Returns the base table of the occurrence
mFMb_CMB_GetTablesFromBaseTable ( BaseTableName )
Description
Returns every occurrence of the base table
Parameters
Optional parameters are reserved words:
Use any 4 of these optional parameters in any combination.
mFMb_CMB_GetTablesFromBaseTable( BaseTableName ; "TableName" ; "TableID" ; "BaseFileName" ; "ModCount" )
mFMb_CMB_SetCurrentFileName ( string )
Description
Set the focused file name to the string, all further function calls wil be targetted to that file name. If the function has never been called, or the string is set to "", then the current file name - as in Get( FileName ) - will be used.
Parameters
The name of the file, or a blank string.
Examples: mFMb_CMB_SetCurrentFileName ( Get ( FileName ) ) // is the same as mFMb_CMB_SetCurrentFileName ( "" ) mFMb_CMB_SetCurrentFileName( "Customers" ) // will set the target for subsequent function calls to the Customers file.
