recordset
property of objects: RSD, STD . Returns a recordset if the object is a data source.
  1. Create STD object.
    Sets are created using objects: RDS (Remote Date Service) or STD (Simple Tabular Data)
    For example, create STD:
    & lt; object id = base width = 100 height = 51 classid = "CLSID: 333C7BC4-460F-11D0-BC04-0080C7055A83" >
    <! Field separator comma: >
    < param name = "fileDelim" value = "," >
    <! Data source text file Exampl.txt: >
    < param name = "DataURL" value = "Exampl.txt" >
    <! The first line contains the field names: >
    < param name = "UseHeader" value = true >
    < / object >

    Where is the table-view database this, Exampl.txt text file with the following content:
  2. Binding of recordset data to tags: INPUT, SELECT, TEXTAREA, MARQUEE, DIV, SPAN is performed by setting properties: DATASRC = "#STD_object_id" (OBJECT tag) and DATAFLD = "field_name". In this case, these tags receive the data of the record to which the pointer is set. After the tags are loaded, the pointer is set to the first record.
    For example:
    < input type = text datasrc = "#base" datafld = "Name" >
  3. Recordset properties:
  4. base.recordset.bof returns true if the pointer is on the first record
  5. base.recordset.eof returns true if the pointer is on the last record
  6. Recordset methods:
  7. base.recordset.movePrevious move the pointer to the previous record;
  8. base.recordset.moveNext move the pointer to the next record;
  9. base.recordset.moveFirst move the pointer to the first record;
  10. base.recordset.moveLast move pointer to last record.