3.2. Objects of type hk_dsvisible- the class hk_datasource


Figure 3-3. hk_datasource methods

  • name()

  • goto_row(r)

  • goto_first()

  • goto_last()

  • goto_next()

  • goto_previous()

  • row_position()

  • max_rows()

  • enable()

  • disable()

  • set_enabled(e)

  • is_enabled()

  • hk_column*column_by_name(name)

  • store_changed_data()

  • hk_database*database()



Example 3-3. rowposition

   1 hk_this.datasource().row_position()


Example 3-4. find a specific column

   1 col=hk_this.datasource().column_by_name("author")