Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

FM.DataViewerContent

Looks for data viewer and copies visible table content.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
FM 6.3 Yes No No No No

MBS( "FM.DataViewerContent" )

Parameters

none

Result

Returns text or error.

Description

Looks for data viewer and copies visible table content.
This is useful to capture values from data viewer automatically while debugging and storing it somewhere, e.g. a log file.

Examples

Sets variables and copies their content:

Set Variable [$r; Value:"Hello"]
Set Variable [$$r; Value:"Hello global"]
Set Variable [$l; Value:MBS( "FM.DataViewerContent" )]
Show Custom Dialog ["Data Viewer"; $l]

Write to log file:

MBS( "Text.AppendTextFile"; Get ( CurrentTimeStamp ) & ": " & MBS( "FM.DataViewerContent" ) & ¶; "/tmp/dataviewer.log"; "UTF8" )

See also


FM.DataType   -   FM.DeleteRecord

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins