TDolPhin query in XBROWSE is not working
Posted: Sun Oct 28, 2012 11:04 am
Hi All ,
TDolPhin Query XBROWSE is NOT working when XBROWSE is defined in the WINDOW MDICHILD, but the same code is working for DIALOG Window. I want to display XBROWSE in the MDICHILD WINDOW. Please guide for the same thanks in advance..!
Thanks
Shridhar
TDolPhin Query XBROWSE is NOT working when XBROWSE is defined in the WINDOW MDICHILD, but the same code is working for DIALOG Window. I want to display XBROWSE in the MDICHILD WINDOW. Please guide for the same thanks in advance..!
- Code: Select all Expand view
DEFINE WINDOW oW MDICHILD OF WndMain() PIXEL FROM FROM nTop, nLeft TO nBottom, nRight ;
COLOR C_FCLR, C_BCLR STYLE nOr( DS_MODALFRAME )
oQry := oApp:gDBServer:Query( "select * from " + cItemMrp + " where item_id = " + Str( pnItemId ) + " order by item_mrp " )
@ 80 , 40 XBROWSE oBrwMrp SIZE 250, 250 PIXEL ;
OF oWnd ;
COLUMNS { "item_mrp", "batch_no", "sale_rate", "purc_rate", "op_unit_qty", "op_box_qty" } ;
HEADERS { "M.R.P.", "Batch #", "Sales Rate", "Purc.Rate", "Op.Unit Qty.", "Op. Box Qty." } ;
OBJECT oQry UPDATE
Thanks
Shridhar