Item No. of TListBosx?

Post Reply
User avatar
dutch
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Item No. of TListBosx?

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Post by Antonio Linares »

Dutch,

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

Antonio Linares
www.fivetechsoft.com
User avatar
dutch
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

It shows wrong item no.

Post by dutch »

Dear Antonio,

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

Best regards,
Dutch
Post Reply