Dear All,
How can I get item number in the Twbrowse as :nLogicPos() of TSbrowse().
Best regards,
Dutch
What is the item number in the Twbrowse()?
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
oBrw:nRowPos doesn't work.
Dear Enrico,
I try the following but it shows error because while define oBrw is not exist (I think).
@ 0, 0 LISTBOX oBrw FIELDS str( oBrw:nRowPos ,3), ; TRN->TRN_OUTLET, TRN->TRN_TBL, TRN->TRN_ORDER, TRN->TRN_DESC, TRN->TRN_TIME, Str(TRN->TRN_QTTY,3) ;
HEADERS 'Item', 'Outlet', 'Table No.','Order No.', 'Description', 'Time', 'Qty.' ;
FIELDSIZES 20, 70, 60, 100, 350, 100, 60 ;
SIZE 895, 675 ;
PIXEL ;
OF oWnd
Best regards,
Dutch
I try the following but it shows error because while define oBrw is not exist (I think).
@ 0, 0 LISTBOX oBrw FIELDS str( oBrw:nRowPos ,3), ; TRN->TRN_OUTLET, TRN->TRN_TBL, TRN->TRN_ORDER, TRN->TRN_DESC, TRN->TRN_TIME, Str(TRN->TRN_QTTY,3) ;
HEADERS 'Item', 'Outlet', 'Table No.','Order No.', 'Description', 'Time', 'Qty.' ;
FIELDSIZES 20, 70, 60, 100, 350, 100, 60 ;
SIZE 895, 675 ;
PIXEL ;
OF oWnd
Best regards,
Dutch
-
- Posts: 117
- Joined: Tue Jan 03, 2006 6:18 pm
oBrw:nRowPos doesn't work
Dear Dutch
try this TRANSFORM(obrw:nat,'999')
regards,
Kok
try this TRANSFORM(obrw:nat,'999')
regards,
Kok
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Duth,
Try this:
Try this:
Code: Select all
@ 0, 0 LISTBOX oBrw FIELDS "" ;
HEADERS 'Item', 'Outlet', 'Table No.','Order No.', 'Description', 'Time', 'Qty.' ;
FIELDSIZES 20, 70, 60, 100, 350, 100, 60 ;
SIZE 895, 675 ;
PIXEL ;
OF oWnd
oBrw:bLine = { || { str( oBrw:nRowPos ,3), ; TRN->TRN_OUTLET, TRN->TRN_TBL, TRN->TRN_ORDER, TRN->TRN_DESC, TRN->TRN_TIME, Str(TRN->TRN_QTTY,3) } }
Thans, it works now.
Dear All,
I've changed to use TSbrowse instead of TWbrowse and Comix&ClipMore. The result is
::nRowPos -> All items alway show '1' after refresh.
::nLogicPos -> It shows the item number belonging to Comix but do not support ClipMore. Because I used both
::nAt -> It works fine.
Best regards,
Dutch
I've changed to use TSbrowse instead of TWbrowse and Comix&ClipMore. The result is
::nRowPos -> All items alway show '1' after refresh.
::nLogicPos -> It shows the item number belonging to Comix but do not support ClipMore. Because I used both
::nAt -> It works fine.
Best regards,
Dutch