Row_ID(n)
Posted: Thu Jun 12, 2014 11:09 am
I am setting row id values in a table to store key values.
#COM_OWNER.Set_Table Name(tabMarkEdit) Row_N(#x) Row_Id_N(1) Row_Id(#SHTID.AsString)
#COM_OWNER.Set_Table Name(tabMarkEdit) Row_N(#x) Row_Id_N(2) Row_Id(#quesp.AsString)
I need to read through the whole table on submission but I can't see how to retrieve the row_id data.
#COM_OWNER.Get_SharedStateNum Variablename('SHTID_CT') Value(#SHTID_CT)
#COM_OWNER.Get_SharedStateNum Variablename('STDID_CT') Value(#STDID_CT)
#COM_OWNER.Get_SharedState Variablename('CLASS_CT') Value(#CLASS_CT)
#lastmark := *blank
#laststd := *blank
* Execute Subroutine(loadquest)
#COM_OWNER.Using Element('/Form.fields.' + 'MarkEdit' + '.fields')
#COM_OWNER.Get_Table Tablename(tabMarkEdit) Rowcount(#LISTCOUNT)
Begin_Loop Using(#x) From(2) To(#LISTCOUNT)
#COM_OWNER.Get_TextBox Name(tabMarkEdit + '.Row%' + #x.AsString + '.NewMark') Value(#MARKIN)
#COM_OWNER.Get_Table Tablename(tabMarkEdit) Currentrowid(#WRK2A) Row_Id_N(1)
#COM_OWNER.Get_Table Tablename(tabMarkEdit) Currentrowid(#WRK3A) Row_Id_N(2)
returns nothing and the documentation seems to say that CurrentRowId is only set when an entry is touched.
What have I missed?
The documenta
#COM_OWNER.Set_Table Name(tabMarkEdit) Row_N(#x) Row_Id_N(1) Row_Id(#SHTID.AsString)
#COM_OWNER.Set_Table Name(tabMarkEdit) Row_N(#x) Row_Id_N(2) Row_Id(#quesp.AsString)
I need to read through the whole table on submission but I can't see how to retrieve the row_id data.
#COM_OWNER.Get_SharedStateNum Variablename('SHTID_CT') Value(#SHTID_CT)
#COM_OWNER.Get_SharedStateNum Variablename('STDID_CT') Value(#STDID_CT)
#COM_OWNER.Get_SharedState Variablename('CLASS_CT') Value(#CLASS_CT)
#lastmark := *blank
#laststd := *blank
* Execute Subroutine(loadquest)
#COM_OWNER.Using Element('/Form.fields.' + 'MarkEdit' + '.fields')
#COM_OWNER.Get_Table Tablename(tabMarkEdit) Rowcount(#LISTCOUNT)
Begin_Loop Using(#x) From(2) To(#LISTCOUNT)
#COM_OWNER.Get_TextBox Name(tabMarkEdit + '.Row%' + #x.AsString + '.NewMark') Value(#MARKIN)
#COM_OWNER.Get_Table Tablename(tabMarkEdit) Currentrowid(#WRK2A) Row_Id_N(1)
#COM_OWNER.Get_Table Tablename(tabMarkEdit) Currentrowid(#WRK3A) Row_Id_N(2)
returns nothing and the documentation seems to say that CurrentRowId is only set when an entry is touched.
What have I missed?
The documenta