Page 1 of 1

question about DataRow

Posted: Thu Mar 26, 2020 11:33 am
by mgsoft
Hello,

In DataRow, it is possible to have all logical fields of a recordset to be set to .t.? For example, with an eval.

Thank you very much. Greetings.

Re: question about DataRow

Posted: Sat Mar 28, 2020 6:27 am
by nageswaragunupudi

Code: Select all

for n := 1 to oRec:FCount()
   if ValType( oRec:FieldGet( n ) ) == "L"
      oRec:FieldPut( n, .t. )
   endif
next n