Programming Guide



sm_*ldb_fld_*get

Copies data from LDBs to specific fields on the current screen

int sm_h_ldb_fld_get(int respect_flag, int ldb, int field_number);
int sm_n_ldb_fld_get(int respect_flag, char *ldbname, int field_number);
int sm_h_ldb_n_fld_get(int respect_flag, int ldb, char *field_name);
int sm_n_ldb_n_fld_get (intrespect_flag, char *ldbname, char *field_name);

respect_flag
Indicates whether to write to fields that already contain data:

0

Initialize all fields, regardless of their status.

1

Initialize only empty or unmodified fields.

ldb
Handle of LDB from which to get data.

ldbname
Name of LDB from which to get data. Use NULL or "" (the empty string) to search through all LDBs for the one that matches the field.

field_number, field_name
Field to write to on the current screen.

Returns

Description

sm_ldb_fld_get copies data from specific local LDB blocks loaded into memory to specific fields on the current screen. This function has the following variants:

See Also

sm_ldb_fld_store, sm_ldb_getfield, sm_ldb_name, sm_ldb_handle