TABLEMETADATA()

From Lianjapedia
Revision as of 10:44, 27 February 2017 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Purpose

Function to return the METADATA string from the Active Data Dictionary associated with the active table

Syntax

TABLEMETADATA()

See Also

ACLASS(), ADDPROPERTY(), AMEMBERS(), COLUMNMETADATA(), COMPOBJ(), CREATEOBJECT(), DATABASEMETADATA(), DEFINE CLASS, DISPLAY CLASSES, DODEFAULT(), FOREACH, JSON_DECODE(), JSON_DECODE_FILE(), JSON_ENCODE(), LIST CLASSES, LOADOBJECT(), METADATA_DECODE(), METADATA_ENCODE(), METADATA_FINDTYPE(), NEWOBJECT(), OBJECT(), PRINT_JSON(), PRINT_HTML(), PRINT_R(), PRINT_XML(), REMOVEPROPERTY(), REQUIRE_ONCE(), SAVEOBJECT(), SQL SELECT, SOCKET_CLOSE(), SOCKET_LASTERROR(), SOCKET_OPEN(), SOCKET_PEEK(), SOCKET_READ(), SOCKET_SERVER(), SOCKET_WRITE(), WITH, XML_DECODE_FILE()

Description

The TABLEMETADATA() function is used to return the METADATA string from the Active Data Dictionary associated with the active table.

Example

open database southwind
use customers
omd = metadata_decode(tableMetaData())
omd.searchpanelvisible = .t.
use
alter table customers metadata metadata_encode(omd)