FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour question about DataRow
Posts: 422
Joined: Mon Aug 17, 2009 12:18 PM
question about DataRow
Posted: Thu Mar 26, 2020 11:33 AM

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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: question about DataRow
Posted: Sat Mar 28, 2020 06:27 AM
Code (fw): Select all Collapse
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

Continue the discussion