I work with tDolphin and MySQL. Here is small example.
I try to get "first","last","city" fields in array, but without success.
Code: Select all
aadd( aFields, "first" ); aadd( aHead, "Head 1" ); aadd( aFormat, "" )
aadd( aFields, "last" ); aadd( aHead, "Head 2" ); aadd( aFormat, "" )
aadd( aFields, "city" ); aadd( aHead, "Head 3" ); aadd( aFormat, "" )
@ 0,0 XBROWSE oBrw OF oWnd OBJECT oQry COLUMNS aFields HEADERS aHead LINES CELL FASTEDIT
//----------------------------------------------------------------------------------------
oBrw:CreateFromCode()
oWnd:oClient = oBrw