What is the item number in the Twbrowse()?

What is the item number in the Twbrowse()?

Postby dutch » Wed Aug 02, 2006 7:07 pm

Dear All,

How can I get item number in the Twbrowse as :nLogicPos() of TSbrowse().

Best regards,
Dutch
User avatar
dutch
 
Posts: 1553
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand


oBrw:nRowPos doesn't work.

Postby dutch » Thu Aug 03, 2006 2:45 am

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
User avatar
dutch
 
Posts: 1553
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

oBrw:nRowPos doesn't work

Postby kok joek hoa » Thu Aug 03, 2006 7:20 am

Dear Dutch

try this TRANSFORM(obrw:nat,'999')

regards,

Kok
kok joek hoa
 
Posts: 117
Joined: Tue Jan 03, 2006 6:18 pm

Postby Antonio Linares » Thu Aug 03, 2006 7:21 am

Duth,

Try this:
Code: Select all  Expand view  RUN
@ 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) } }
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42149
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Thans, it works now.

Postby dutch » Mon Aug 07, 2006 4:58 am

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
User avatar
dutch
 
Posts: 1553
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 12 guests