![Image](https://i.postimg.cc/65436kpw/bo.png)
this is a small test
Code: Select all | Expand
#include "FiveWin.ch"
REQUEST DBFCDX
Function test()
local odbf,cField,ctxt
oDbf:=TDatabase():Open( , "Customer", "DBFCDX", .T. )
oDbf:setorder(1)
cField ="first"
cField:=trim(cField)
ctxt:=bCampo( cfield,oDbf) //give me an array
?ctxt
return nil
static function bCampo( cCampo,oDbf)
return oDbf:fieldWBlock(cCampo )
If I made
xbrowser ctxt
I see this
![Image](https://i.postimg.cc/nc365rJh/ho.png)
If I made
?ctxt[1] or ?ctxt[1][1]
make error why ?
How I can resolve ?