sgbm Posted March 5, 2012 Report Share Posted March 5, 2012 Pessoal eu tenho um xBrowse que tem alguns campos calculados exemplo: REDEFINE xBrowse oLbxPla ; fields transf(calcpla(vtotalbrPro),"@E 99,999,999.99"), transf(calcpla2(vtotalbrPro),"@E 99,999,999.99"); Como faço para que uma variável leia o conteúdo deste campo calculado, tipo Vcalculo1 := xbrowse.campoCalculado Quote Link to comment Share on other sites More sharing options...
sgbm Posted March 5, 2012 Author Report Share Posted March 5, 2012 Pessoal eu tenho um xBrowse que tem alguns campos calculados exemplo: REDEFINE xBrowse oLbxPla ; fields transf(calcpla(vtotalbrPro),"@E 99,999,999.99"), transf(calcpla2(vtotalbrPro),"@E 99,999,999.99"); Como faço para que uma variável leia o conteúdo deste campo calculado, tipo Vcalculo1 := xbrowse.campoCalculado Quote Link to comment Share on other sites More sharing options...
ecmsoft Posted March 5, 2012 Report Share Posted March 5, 2012 O que você pretende fazer com isso ? Se você optar por usar uma matriz de dados na xBrowse deve resolver. Tipo: vCalculo1:=aVetor[nLinha][nColuna]id=red> Marciano Queiroz Teixeira de Freitas-Ba marciano@bitfarma.com.br FW 10.12 + xHarbour 1.2.1 (6717) | BCC 5.82 | SQLLIB | PAF-ECF | TEF | NF-e | SPED Fiscal | PBM´s | Biometria Quote Link to comment Share on other sites More sharing options...
Erciley Junior Posted March 6, 2012 Report Share Posted March 6, 2012 xBrowse só utilizo com Array, se for array, faça: var:=oBrw:aArrayData[oBrw] Erciley Junior (FWH8.01 + SQLLIB 1.9d + xHB 1.10 + xDev 0.65 + @SAY) NÃO ABANDONE O POST, QUEREMOS SABER SE SUA DÚVIDA/PROBLEMA TEVE SOLUÇÃO Quote Link to comment Share on other sites More sharing options...
Eduardo Bilato Posted March 6, 2012 Report Share Posted March 6, 2012 Se pretende fazer algo na classe, pode tentar oColumn := objeto:SelectedCol() xField := EVAL( oColumn:bEditValue ) att Eduardo de Camargo Bilato FWH8.01 + SQLLIB 1.9d + xHB 1.10 + xDev 0.65 + @SAY email: eduardobilato@gmail.com msn: dunhox@hotmail.com Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.