DocumentCameraScan.ErrorMessage
-------------------------------

Queries error message.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DocumentCameraScan](component_DocumentCameraScan.md) | [10.0](newinversion100.md) | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "DocumentCameraScan.ErrorMessage" ) ### Parameters

none

### Result

Returns text.

### Description

Queries error message.  
### Examples

Script may look like this:

 Set Variable \[ $param ; Value: Get(ScriptParameter) \]   
If \[ $param = "Error" \]   
 Show Custom Dialog \[ "Failed to scan" ; MBS ( "DocumentCameraScan.ErrorMessage" ) \]   
Else If \[ $param = "Scan" \]   
 Perform Script \[ Specified: From list ; “Import” ; Parameter: \]  
Else If \[ $param = "Cancel" \]   
 # do nothing  
End If  
### See also

- [DocumentCameraScan.PageImage](DocumentCameraScanPageImage.md)
- [DocumentCameraScan.SetScript](DocumentCameraScanSetScript.md)

### Example Databases

- [iOS/Examples/DocumentCameraScan test](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/iOS/Examples/DocumentCameraScan%20test.shtml#2ScriptAnchor_)

This function is free to use.

Created 6th January 2020 , last changed 8th January 2020

  
[DocumentCameraScan.Close](DocumentCameraScanClose.md) - [DocumentCameraScan.Initialize](DocumentCameraScanInitialize.md)

[HTML Version](DocumentCameraScanErrorMessage.shtml)