I need to return from a function a codeBlock type
{|| oCustomer:First }
but I Know the oDbf ( tdatabase ) and I have an array where are the fields of this archive
so I have :
Function bCampo( aCampos, nFor,oDbf)
return oDbf:fieldWBlock(aCampos[nFor] )
but this expression oDbf:fieldWBlock(aCampos[nFor] ) not run ok
it not make error and then on Report I have a white list

I have this problem using Tdatabase with normal Use it run ok
how I can resolve ?
{|| oCustomer:First }
but I Know the oDbf ( tdatabase ) and I have an array where are the fields of this archive
so I have :
Function bCampo( aCampos, nFor,oDbf)
return oDbf:fieldWBlock(aCampos[nFor] )
but this expression oDbf:fieldWBlock(aCampos[nFor] ) not run ok
it not make error and then on Report I have a white list

I have this problem using Tdatabase with normal Use it run ok
how I can resolve ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com