Unit 'mselookupbuffer' Package
[Overview][Constants][Types][Classes][Index] [#msegui]

tcustomlookupbuffer.lookuptext

A lookup buffer cannot distinguish a NULL value from a "zero" value

Declaration

Source position: mselookupbuffer.pas line 250

public function tcustomlookupbuffer.lookuptext(

  const integerkeyfieldno: Integer;

  const textfieldno: Integer;

  const keyvalue: Integer;

  const adefault: msestring = ''

):msestring; overload;

function tcustomlookupbuffer.lookuptext(

  const int64keyfieldno: Integer;

  const textfieldno: Integer;

  const keyvalue: Int64;

  const adefault: msestring = ''

):msestring; overload;

function tcustomlookupbuffer.lookuptext(

  const stringkeyfieldno: Integer;

  const textfieldno: Integer;

  const keyvalue: msestring;

  const adefault: msestring = ''

):msestring; overload;

Description

A lookup buffer cannot distinguish a NULL value from a "zero" value: lookuptext returns '0' for a NULL integer field, and '' for a NULL text, float or datetime field — the same as it would for an actual 0 or empty string.


Documentation generated on: 2026-10-03