Write a Block
Posted: Wed Jun 26, 2019 6:52 am
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 ?