Search found 32 matches: rowcount

Searched query: rowcount

by Antonio Linares
Fri Jan 24, 2025 11:19 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4835

Re: Using new Class TDeepSeek for documenting

... IsDisplayPosVisible(), LastDisplayPos(), BrwWidth(), GridWidth(), BrwHeight(), HeaderHeight(), FooterHeight(), CalcHdrHeight(), RowCount(), FirstRow(), LastRow(), FooterRow(), DataHeight(), BrwFitSize(), CancelEdit(), Check_oSeek(), SetSortBmp(), AutoFit(), CheckSize(), Resize ...
by Antonio Linares
Fri Jan 24, 2025 10:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4835

Re: Using new Class TDeepSeek for documenting

... Returns the total number of rows in the data source.

Parameters: None

Return Value: NUMERIC - Total number of rows.

Usage Example:

nRowCount := oBrw:KeyCount()
content_copy
download
Use code with caution.
Harbour

197. BookMark( uGoTo )

Description: Sets or gets the bookmark position ...
by Antonio Linares
Fri Jan 17, 2025 10:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4835

Using new Class TDeepSeek for documenting

... Description**: Sets the data source and field for the list.
- **Parameters**: `uDataSource`, `cField`.
- **Returns**: None.

16. **`RowCount()`**
- **Description**: Returns the number of visible rows in the list.
- **Returns**: Numeric (count of visible rows).

### Additional ...
by Tekfreakz
Thu Jan 19, 2017 1:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Me Again : MySQL FW help.. Trying to find the right Syntax
Replies: 5
Views: 1287

Re: Me Again : MySQL FW help.. Trying to find the right Syntax

Hi

"select * from tablename where userid = '"+cUserId+"'"
if tablename.rowcount > 0
fnCheckPassword()
else
MsgInfo('User Not Found')
endif

Hope this is what you meant.

Colin


Can you explain this a little more..
i did a quick test of this, changed tablename to (members) where username ...
by Colin Haig
Wed Jan 18, 2017 8:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Me Again : MySQL FW help.. Trying to find the right Syntax
Replies: 5
Views: 1287

Re: Me Again : MySQL FW help.. Trying to find the right Syntax

Hi

"select * from tablename where userid = '"+cUserId+"'"
if tablename.rowcount > 0
fnCheckPassword()
else
MsgInfo('User Not Found')
endif

Hope this is what you meant.

Colin
by xfood
Mon Oct 12, 2015 9:36 pm
Forum: FiveTouch
Topic: Info FiveTouch
Replies: 26
Views: 18701

Re: Info FiveTouch

... in the forum ,
I would like to know how do I read the value of a cell in the selected row of a QtableView ?
msginfo(oBrw:setCurrentCell(oBrw:rowCount()-1,0):value) // I would love to return
Thanks a lot

Italiano
Salve, sto iniziando ad utilizzare la fivetouch con esempi trovati qui nel forum ...
by solving
Thu Jun 11, 2015 4:14 pm
Forum: All products support
Topic: fivetouch
Replies: 20
Views: 7932

Re: fivetouch

salve
in questo esempio mi ritorna Errore nei comandi :

oBrw:setCurrentCell(0,0)
oBrw:setCurrentCell(oBrw:rowCount()-1,0)

Grazie

* ------------------------ ELENCO
FUNCTION Elenco( fDbf, fNtx )
local oDlg := QDialog()
local oBrw := QTableView( oDlg )
local oModel := QStandardItemModel( 3, 4, oDlg ...
by solving
Mon Jun 01, 2015 9:57 am
Forum: All products support
Topic: fivetouch
Replies: 20
Views: 7932

Re: fivetouch

... oDlg:Exec()

Video->( DBCLOSEAREA() )

return nil

// ------------------------------------ Altre Funzioni

PROCEDURE Top( oT )
oT:scrollToTop()
oT:setCurrentCell( 0, 0 )
oT:setFocus()
RETURN

PROCEDURE Bot( oT )
oT:scrollToBottom()
oT:setCurrentCell( oT:rowCount() - 1, 0 )
oT:setFocus()
RETURN
by russimicro
Wed Nov 12, 2014 10:02 pm
Forum: FiveWin para Harbour/xHarbour
Topic: correlativo documento con ado y mysql
Replies: 5
Views: 992

Re: correlativo documento con ado y mysql

... stmt=$conn->prepare($cSenEje);
$stmt->setFetchMode(PDO::FETCH_ASSOC);
$stmt->execute(array($cEmpSuc,$cCodCon,$cDocGra));
$registros = $stmt->rowCount();
unset($stmt);

if ($registros > 0) {
actualizaConsecutivo($conn,$codigoConsecutivo) ;
$nDocGra = ( $nDocGra + 1 );
} else {
$noExiste ...
by russimicro
Sat Aug 23, 2014 2:23 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Experiencias de bloqueo de registros con ADO
Replies: 6
Views: 1116

Re: Experiencias de bloqueo de registros con ADO

... sec WRITE, transainventarios WRITE, conceptosinventarios AS con WRITE;";
};
$stmt=$conn->prepare($cSenEje);
$stmt->setFetchMode(PDO::FETCH_ASSOC);
$stmt->execute();
$registros = $stmt->rowCount();
unset($stmt);
}

//*************************************************************

Johnson Russi
by Franklin Demont
Mon Mar 25, 2013 9:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse:brwfitsize(.T.)
Replies: 2
Views: 1056

Re: xbrowse:brwfitsize(.T.)

... possible solution is to create a new DATA in Txbrowse , nMaxrow.

First lines from BrwFitsize

local nMaxRow
IF ::nMaxRow == nil
::nMaxRow := ::RowCount()
END
DEFAULT nMaxRow := ::nMaxrow

Then we can call Brwfitsize as usual and must give no attention to set nMaxrow in the calling routine ...
by Franklin Demont
Sun Mar 24, 2013 4:51 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse:brwfitsize(.T.)
Replies: 2
Views: 1056

xbrowse:brwfitsize(.T.)

... lHscroll := .F. :CreateFromCode() ENDACTIVATE DIALOG oDlg CENTER ON INIT oBrw2:BrwFitSize(.T.)RETURN

Starting this aplication , RowCount() from oBrw2 is adjusted to 6 elements , the second browse fit's to 6 elements.

Giving el2 from obrw1 (second row) focus adjust rowcount() from ...
by nageswaragunupudi
Thu Oct 13, 2011 1:21 pm
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse - 1ra. y última filas pintadas
Replies: 3
Views: 897

Re: xBrowse - 1ra. y última filas pintadas

nFirstKeyNo := oBrw:KeyNo() - oBrw:nRowSel + 1
nLastKeyNo := nFirstKeyNo + oBrw:RowCount() - 1

In case of RDD, nFirstKeyNo and nLastKeyNo are the OrdKeyNo() of the first and last records displayed.

In case of Array, nFirstKeyNo and nLastKeyNo are the first and last array elements displayed. In case ...
by elmoiquique
Sat Nov 27, 2010 7:52 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con WEBSERVICE
Replies: 15
Views: 7111

Re: Ayuda con WEBSERVICE

... lt;/RutUsuario&gt;&lt;RutEmpresa&gt;90000008-0&lt;/RutEmpresa&gt;&lt;RutAgencia&gt;&lt;/RutAgencia&gt;&lt;/header&gt;"><result><srvs result="ok" rowCount="1"><data TTotal="14" id="consultarCausalesRechazo" result="ok" rowCount="3" rowCountTotal="3"><row CODI_TDOC="101" CONT_VALI="Validación de ...
by ermatica
Wed May 19, 2010 8:21 am
Forum: FiveWin para Harbour/xHarbour
Topic: Arrays en FastReport (SOLUCIONADO)
Replies: 11
Views: 3181

Re: Arrays en FastReport

Hola Armando,

Si la longitud del array varía, puedes ponerlo asi:

nLenArray:=len(aArray)
oFr:SetProperty("MasterData1", "RowCount",nLenArray)

Un saludo,
Ernesto.