FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper What is the item number in the Twbrowse()?
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
What is the item number in the Twbrowse()?
Posted: Wed Aug 02, 2006 07:07 PM

Dear All,

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

Best regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: What is the item number in the Twbrowse()?
Posted: Wed Aug 02, 2006 08:06 PM

Try oBrw:nRowPos.

EMG

Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
oBrw:nRowPos doesn't work.
Posted: Thu Aug 03, 2006 02: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

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 117
Joined: Tue Jan 03, 2006 06:18 PM
oBrw:nRowPos doesn't work
Posted: Thu Aug 03, 2006 07:20 AM

Dear Dutch

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

regards,

Kok

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
What is the item number in the Twbrowse()?
Posted: Thu Aug 03, 2006 07:21 AM
Duth,

Try this:
@ 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
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Thans, it works now.
Posted: Mon Aug 07, 2006 04: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

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion