question about DataRow

Post Reply
User avatar
mgsoft
Posts: 398
Joined: Mon Aug 17, 2009 12:18 pm
Location: España

question about DataRow

Post 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.
Saludos,

Eduardo
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: question about DataRow

Post by nageswaragunupudi »

Code: Select all

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

G. N. Rao.
Hyderabad, India
Post Reply