TABLE.EXTERNAL_RECORD_CONTENT_FROM_KEY_GET Function

Syntax

Record_List as C = External_record_content_from_key_get(C tablename,C content_expression,C records[,C key_expression])

Arguments

tablename

The name of a table.

content_expression

A logical expression that selects records from the table.

records

A CR-LF delimited list of key values for the records that you want to retrieve.

key_expression

Optional. Default = "recno()". The name of an index tag.

Description

Retrieve external tables records in a cr-lf separated list given a list of records or keys.

Discussion

The TABLE.EXTERNAL_RECORD_CONTENT_FROM_KEY_GET() method returns a CR-LF delimited list of records from an external table.

Example

dim keys as C
keys = 

<<%a%
1
3
%a%
? table.external_record_content_from_key_get("customer", "lastname", keys)
= Harrison           
Brown
? table.external_record_content_from_key_get("customer", "firstname", keys, "lastname")
= Laddie
Evan

See Also