Here there is a solution for a problem found qhen you try to edit a cell in xBrowse using tDolhpin queries
Change this in SetColFromMysql from class xBrowse
- Code: Select all Expand view
- If ::oMySql:IsKindOf( "TDOLPHINQRY" )
oCol:bOnPostEdit := { |o,x,n| If( n == VK_RETURN,( ::oMySql:FieldPut( nCol, x ), ::oMySql:Save() ), NIL ) }
Else
oCol:bOnPostEdit := { |o,x,n| If( n == VK_RETURN, ::onedit( o, x, n, cType, nCol ), NIL ) }
Endif
Then you can edit the cell and save its value.
This was discovered by Daniel Garcia-Gil, after some minutes bothering him...
Greetings