DataGrid Form
Posted: Wed May 27, 2009 5:35 pm
Hi,
I have a datagrid form with Customized Template and without column headers, I want to get the data from it, I have used this code:
But I get the data from the second record to the end. I think it is something related to the headers of the columns, "dgDataOfIndex" properity assumes the form has header then it starts from the second record.
How to get the first record?
Many thanks,
I have a datagrid form with Customized Template and without column headers, I want to get the data from it, I have used this code:
Code: Select all
repeat for each item theIndex in the dgIndexes of group "resdg"
put the dgDataOfIndex[theIndex] of group "resdg" into theDataA
if theDataA["name"] is not empty then
answer theDataA["name"]
end if
end repeat
How to get the first record?
Many thanks,