Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

FM.DataViewerContent

Looks for data viewer and copies visible table content.

Component Version macOS Windows Linux Server 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

Blog Entries

This function checks for a license.

Created 18th June 2016, last changed 18th June 2016


FM.DataType - FM.DeleteRecord