question about DataRow

question about DataRow

Postby mgsoft » 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
User avatar
mgsoft
 
Posts: 422
Joined: Mon Aug 17, 2009 12:18 pm
Location: España

Re: question about DataRow

Postby nageswaragunupudi » Sat Mar 28, 2020 6:27 am

Code: Select all  Expand view
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
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], wilsongamboa and 40 guests