Parameters
- keyOfReference
- Key of reference to use.
- dataArea
- Record data area.
- keyValue
- Returned with the value of the required key given the data in the passed record area.
- keyLength
- Returned with the length of the key.
Int32 chan; Symphony.dB.DBAccess itemAccess = new DBAccess("ITEM", "DATABASE:DatabaseManager"); if (itemAccess.OpenInput(out chan) == DBResponse.DBOK) { string keyValue; int keyLength; itemAccess.GetKeyValue(0, "ITM001", out keyValue, out keyLength); }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2