Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 4.0   4.1   4.2   4.3   4.4   5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0    Statistic  

CURL.SetTag

Sets the tag value.

Component: CURL
Version: 5.2
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "CURL.SetTag"; Handle { ; Value } )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value Optional
The new tag value.
Get(RecordID)

Result

Returns OK or error.

Description

Sets the tag value.
The tag value allows you to store any value related to the CURL transfer here like a RecordID in FileMaker.
In the finished script, you can than use the CURL handle passed as parameter to query your tag value.
See also CURL.SetFinishedScript and CURL.PerformAsync.

Examples

Sets tag to be record ID:

Set Variable [$r; Value:MBS("CURL.SetTag"; $curl; Get(RecordID))]

Test tag:

Set Variable [$curl; Value:MBS( "CURL.New" )]
#Set Tag to some value
Set Variable [$r; Value:MBS( "CURL.SetTag"; $curl; "Hello World")]
#Later read back the value
Set Variable [$tag; Value:MBS( "CURL.GetTag"; $curl)]

See also


CURL.SetProgressScript   -   CURL.SetUpdateProgressDialog

Feedback: Report problem or ask question.




Links
MBS Realbasic Chart Plugins - Pfarrgemeinde Ministranten Nickenich