21.01.2013 Views

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Back to Other Functions.<br />

NULL Functions<br />

Null( )<br />

Returns a real NULL value.<br />

IsNull(expr )<br />

Returns -1 (true) if expr returns NULL, otherwise 0 (false).<br />

Back to Other Functions.<br />

System Functions<br />

ClientPlatform( )<br />

Returns the name of the platform the client is using, for example, Mobile.iPhone.<br />

All mobile clients start with Mobile, a period sign and the type of mobile device. Clients using AJAX will<br />

return Browser.Nameofbrowser, for example Browser.Firefox.<br />

Note!<br />

The function will only return the client type for those clients using the QVPX protocol, that is the mobile<br />

clients and the AJAX client.<br />

OSuser( )<br />

Returns a string containing the name of the current user as returned by the operating system.<br />

QVuser( )<br />

Returns a string containing the name of the current <strong>QlikView</strong> user as entered in a section access.<br />

ComputerName( )<br />

Returns a string containing the name of the computer as returned by the operating system.<br />

ReloadTime( )<br />

Returns a timestamp for when the script last finished reexecuting.<br />

GetActiveSheetID()<br />

Returns a string containing the Id of the active sheet.<br />

GetCurrentField(groupname)<br />

returns the name of the field currently active in the group named groupname.<br />

Example:<br />

getcurrentfield( MyGroup )<br />

GetCurrentSelections([ recordsep [, tagsep [, valuesep [, maxvalues=6<br />

]]]])<br />

returns a selection stamp of the current selections in the document. Recordsep is the separator between lines<br />

(fields) in the selection stamp and defaults to chr(13). Tagsep is the delimiter between field name and values<br />

and defaults to ': '. Valuesep is the delimiter between selected values and defaults to ', '. Maxvalues is the<br />

highest number of individual values that will be displayed for any one field before 'x of y' notation is used<br />

instead.<br />

Examples:<br />

330

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!