![]() | Programming Guide | ![]() |
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.
sm_ldb_fld_getcopies data from specific local LDB blocks loaded into memory to specific fields on the current screen. This function has the following variants:
sm_h_ldb_fld_getspecifies the LDB by its handle. The LDB data is copied to the field identified by number in thefield_numberargument.
sm_ldb_fld_store, sm_ldb_getfield, sm_ldb_name, sm_ldb_handle
![]()
![]()
![]()
![]()