Page 1 of 1

Item No. of TListBosx?

Posted: Mon Aug 28, 2006 6:23 pm
by dutch
Dear Antonio,

@ 0.1, 0.1 LISTBOX oBrw FIELDS "" ;
HEADERS "No.", "Description", "Qty.", "Amount" ;
FIELDSIZES 20, 100, 30, 50 ;
SIZE 120, 100 ;
PIXEL ;
OF oDlg

oBrw:bLine = { || { str( oBrw:nRowPos ,2), ;
TRN->TRN_DESC, ;
Str(TRN->TRN_QTTY,3), ;
Str(TRN->TRN_UNIT*TRN->TRN_QTTY,7,2) } }

- oBrw:nRowPos is alway show '1'
- oBrw:nAt and oBrw:nLogis not working

Best regards,
Dutch

Posted: Tue Aug 29, 2006 7:41 am
by Antonio Linares
Dutch,

Try to use: Str( TRN->( ORDKEYNO() ), 2 )

It shows wrong item no.

Posted: Tue Aug 29, 2006 10:53 am
by dutch
Dear Antonio,

I need a item no. in a Browse but OrdKeyNo() shows the item no. in active Order.

Best regards,
Dutch