====== MVBFS_NATIVE_TABLE Function ====== ==== Description ==== MVBFS_NATIVE_TABLE is a function added in OpenInsight 9.4 to allow developers to read or write records to server-side tables even if they are not mapped. The primary purpose is to let a developer read or write values to a non-standard dictionary row, for instance a sequence counter. ==== Syntax ==== Function MVBFS_NATIVE_TABLE(VolName, Method, NativeTable, key, Record) ==== Parameters ==== The function has the following parameters: ^Parameter^Description^ |VolName|(in) Volume ( Connection ) name| |Method|(in) One of ("READ READU WRITEU WRITE RELEASE DELETE" )| |NativeTable|(in) Native table name, e.g. "MY.FILE" or "DICT MY.FILE"| |key|(in) key to the record| |Record|(in/out) = data record|| ==== Example ==== ** Read and write values to a native table or dict for a table on a connected server ** The connection (volname) must be configured, but the table need not be attached / mapped ** ** The goal is to access dictionary rows that are not mapped to the shadow dictionary ** because they have an invalid type. But it can be used for any table on the server ** See Also RTI_READU, RTI_WRITERELEASE ** Example : Read a value from a dictionary volname = 'QM_BOBCART' method = 'READ' nativetable = 'DICT TEST_SELECT' key = 'MY.SEQUENTIAL.COUNTERS' record = "" Call MVBFS_NATIVE_TABLE(VolName, Method, NativeTable, key, record, status) value = record<1>