Search found 29 matches: rowcount

Return to advanced search

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 ...
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: 1159

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 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: 1159

Re: Info FiveTouch

... here 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 xfood
Mon Oct 12, 2015 9:36 pm
 
Forum: FiveTouch
Topic: Info FiveTouch
Replies: 26
Views: 11233

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( ...
by solving
Thu Jun 11, 2015 4:14 pm
 
Forum: All products support
Topic: fivetouch
Replies: 20
Views: 5167

Re: fivetouch

... 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 solving
Mon Jun 01, 2015 9:57 am
 
Forum: All products support
Topic: fivetouch
Replies: 20
Views: 5167

Re: correlativo documento con ado y mysql

... $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
Wed Nov 12, 2014 10:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: correlativo documento con ado y mysql
Replies: 5
Views: 856

Re: Experiencias de bloqueo de registros con ADO

... AS con WRITE;"; }; $stmt=$conn->prepare($cSenEje); $stmt->setFetchMode(PDO::FETCH_ASSOC); $stmt->execute(); $registros = $stmt->rowCount(); unset($stmt); } //************************************************************* Johnson Russi
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: 961

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. Another ...
by Franklin Demont
Mon Mar 25, 2013 9:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse:brwfitsize(.T.)
Replies: 2
Views: 971

xbrowse:brwfitsize(.T.)

...        := .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() ...
by Franklin Demont
Sun Mar 24, 2013 4:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse:brwfitsize(.T.)
Replies: 2
Views: 971

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 ...
by nageswaragunupudi
Thu Oct 13, 2011 1:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse - 1ra. y última filas pintadas
Replies: 3
Views: 826

Re: Ayuda con WEBSERVICE

... result="ok" rowCount="1"><data TTotal="14" id="consultarCausalesRechazo" result="ok" rowCount="3" rowCountTotal="3"><row ...
by elmoiquique
Sat Nov 27, 2010 7:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con WEBSERVICE
Replies: 15
Views: 6589

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.
by ermatica
Wed May 19, 2010 8:21 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Arrays en FastReport (SOLUCIONADO)
Replies: 11
Views: 2738

Re: Arrays en FastReport

... como registros haya en el DBF o RecordSet. Tambien tengo entendido que en el caso de los Array sucede lo mismo, me parece que no puedo utilizar el RowCount porque en cada impresión la longitud del Array puede variar, mejor dicho varía, deduzco que algo me hace falta definir en el formato pero no ...
by Armando
Tue May 18, 2010 11:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Arrays en FastReport (SOLUCIONADO)
Replies: 11
Views: 2738

Re: Arrays en FastReport

Hola Armando, En las bandas (Master,Detail, etc.) hay una propiedad: "RowCount" donde puedes ponerle en número que equivale a las veces que quieres visualizar/imprimir dicha la banda, en tu caso la longitud del array. Es decir no asocias la banda a ...
by ermatica
Tue May 18, 2010 10:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Arrays en FastReport (SOLUCIONADO)
Replies: 11
Views: 2738

Re: Pagina WEB con FW

Gracias Mauricio pero tengo la misma duda que el foro que me has reenviado, ¿que librería tengo que enlazar?, me dán los siguientes errores en FWPPC: mysql.obj : error LNK2019: unresolved external symbol mysql_connect referenced in function HB_FUN_MYSQL_CONNECT mysql.obj : error LNK2019: unresolved ...
by softruz
Wed Dec 09, 2009 9:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pagina WEB con FW
Replies: 13
Views: 3080
Next

Return to advanced search