Page 1 of 1

DataGrid Form

Posted: Wed May 27, 2009 5:35 pm
by ramywhite
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:

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
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,

RESOLVED

Posted: Wed May 27, 2009 6:03 pm
by ramywhite
Hi,
I have closed the stack and reopened it again and then every thing is fine.
Thanks,

Posted: Thu May 28, 2009 10:36 pm
by WaltBrown
I hate when that happens! :shock: :o :oops:

Posted: Sun Jun 14, 2009 8:02 am
by peramangk
I was having trouble with a datagrid that would not scroll, so I quit Rev and restarted; and now it's working.

Thanks for the tip!