Field-Map Scripting

4.2.3.61 GetLookupListAttributeValue

GetLookupListAttributeValue function


Prototype:

function GetLookupListAttributeValue (const AttributeName : string; AttributeValue : variant; LookupListAttribName : string) : variant;

Description:

If object belongs to one of entries in specific lookup list, use GetLookUpListAttributeValue to get ID of this entry

Syntax:

variable := Layer.GetLookupListAttributeValue(AttributeName, AttributeValue, LookupListAttribName);


Part

Description


variable

variable declared as variant


AttributeName



AttributeValue



LookupListAttribName


Return value:

ID of lookup list entry




See also:

Value; ValueAsString; ValueAsinteger; ValueAsFloat; ValueAsboolean; OldValue; PreviousValue; BOF; EOF; RecordCount; State; SetValues; SetValuesFromXML; CrownProjection; CrownProfile; CrownProfilePoints; StemProfile; OldLayer; SavePosition; RestorePosition; SaveState; RestoreState; SavePositionAndState; RestorePositionAndState; Open; Close; First; Last; Next; Prior; Edit; Post; Append; Delete; Cancel; Refresh; Locate; ClearTable; Filter; Filtered; CheckFilter; SetFilterExt; ClearFilterForChildLayers; DeepFilter; EnableCachedUpdates; ApplyUpdates; GetAttributeValue; GetQueryResult; DeleteFrom; Update; CreateMemTable; SaveToDBF; SaveToExcel; GetMinOfAttributeValues; GetMaxOfAttributeValues; GetMeanOfAttributeValues; GetSumOfAttributeValues; GetRecordCount; GetLookupTable; GetLookupListValue; GetLookupListAttributeValue; GetID; GetIdAttributeName; GetIdSQL; SaveTimeStamp; File2Blob; Blob2Folder; String2Blob; Blob2String; FillAttributeValues; MarkValuesAsConditional;GetListOfChildLayers; GetPercentageOfFilledAttributes4Record; GetPercentageOfFilledAttributes4Layer; RoundAttributeValues