Search found 114 matches: cquery

Return to advanced search

Re: Eliminate Editing Icons XBROWSE MySql

Thanks for the advice. Double Click does open the edit screen but editing is disabeld because of the .t. in oTb:=oCn:RowSet( cQuery,.t. ) Using the code in my second posting, double click will not any more open edit screen. Better you use this version. Note: Dbl-click to open edit screen ...
by nageswaragunupudi
Tue Nov 07, 2023 9:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Eliminate Editing Icons XBROWSE MySql
Replies: 6
Views: 408

Re: Eliminate Editing Icons XBROWSE MySql

Thanks for the advice.

Double Click does open the edit screen but editing is disabeld because of the .t. in oTb:=oCn:RowSet( cQuery,.t. )
by PAUL SIMM
Tue Nov 07, 2023 9:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Eliminate Editing Icons XBROWSE MySql
Replies: 6
Views: 408

Eliminate Editing Icons XBROWSE MySql

I need to Browse a MySql table in Read only mode. oCn :=maria_Connect( cHost,cUser,cDb,cPwd ) cQuery:="SELECT * FROM EVENTOS" oTb:=oCn:RowSet( cQuery,.t. ) xbrowser oTb TITLE "Eventos " oCn:Close() Works and is readonly but the ADD + EDIT and DELETE ...
by PAUL SIMM
Mon Nov 06, 2023 11:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Eliminate Editing Icons XBROWSE MySql
Replies: 6
Views: 408

Re: Saving OuterHTML using Await Implementation with TWebView

... wrapper over TWebView. - Data members include: - `bOldBind`: Presumably used to store previous bindings. - `oWeb`: Instance of TWebView. - `cQuery`, `nSecond`, `cReturn`: Parameters used for querying. - Methods include: - `New`: Constructor that binds the 'SendToFWH' function for callback ...
by CharlesKwon
Thu Aug 17, 2023 9:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving OuterHTML using Await Implementation with TWebView
Replies: 24
Views: 1632

Re: Saving OuterHTML using Await Implementation with TWebView

... wrapper over TWebView. - Data members include: - `bOldBind`: Presumably used to store previous bindings. - `oWeb`: Instance of TWebView. - `cQuery`, `nSecond`, `cReturn`: Parameters used for querying. - Methods include: - `New`: Constructor that binds the 'SendToFWH' function for callback ...
by Otto
Thu Aug 17, 2023 8:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving OuterHTML using Await Implementation with TWebView
Replies: 24
Views: 1632

Saving OuterHTML using Await Implementation with TWebView

... named TAWaitWeb. To facilitate more convenient usage, I have created user-friendly functions using TAWaitWeb as follows: AWait_QuerySelector(oWeb, cQuery, nSecond) AWait_QuerySelectAll(oWeb, cQuery, nSecond) AWait_GetOuterHTML(oWeb, cSelector, nSecond) 6. The example scenario is as follows: 6-1.Navigate ...
by CharlesKwon
Mon Aug 14, 2023 1:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving OuterHTML using Await Implementation with TWebView
Replies: 24
Views: 1632

Re: DBF to Excel Sheet, without Excel, using ADO ?

... --- i "think" i got it for Type "C","N","D" and "L"   cQuery := "CREATE TABLE " + cTable + " ( "   iMax := LEN( aDbfStruct )   FOR i = 1 TO iMax      cQuery += aDbfStruct[ ...
by Jimmy
Wed Aug 09, 2023 10:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to Excel Sheet, without Excel, using ADO ?
Replies: 50
Views: 2583

Re: Resta de columnas en xBrwose

MI estimado, prueba asi: cQuery := "SELECT " cQuery += "Cli.rif_cliente, " cQuery += "Cli.razon_social_cliente, " cQuery += "Fac.numero_documento, " cQuery += "Fac.fecha_documento, " cQuery ...
by Willi Quintana
Thu Dec 01, 2022 3:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Resta de columnas en xBrwose
Replies: 14
Views: 947

Re: GetAutoIncrement en MARIADB?

... se le dio a una tabla. Antes lo hacia con GetAutoIncrement y ahora con mariadb? gracias. Saludos, yo lo hago asi, inmediatamente luego del insert cQuery := "SELECT LAST_INSERT_ID() AS nIdItem FROM articulos;" otra forma cQuery := “SELECT MAX(id) AS nIdItem FROM articulos;” esta es otra, ...
by JoseAlvarez
Fri Oct 01, 2021 2:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetAutoIncrement en MARIADB?
Replies: 1
Views: 283

Re: Ordenar una tabla ascendente y descendentemente

Qué es el record set? Esta es la consulta en la función principal: cQuery := 'select * from reporte where mes_fantasma = ' + Str( nMes ) + ' order by fecha DESC' oQry := o : oRep : RowSet( cQuery ) En las funciones siguientes es donde quiero invertir el orden, ...
by nageswaragunupudi
Mon Mar 22, 2021 1:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ordenar una tabla ascendente y descendentemente
Replies: 11
Views: 1258

Re: Ordenar una tabla ascendente y descendentemente

Amigo:

cQuery := 'select * from reporte where mes_fantasma = ' + Str( nMes ) + ' order by fecha DESC'
oQry := o : oRep : RowSet( cQuery )

// Después de crear el record set (oQry)
oQry:SORT := "CAMPO1,CAMPO2,etc ASC" // o DESC
oQry:MoveFirst()

Saludos
by Armando
Sun Mar 21, 2021 10:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ordenar una tabla ascendente y descendentemente
Replies: 11
Views: 1258

Re: Ordenar una tabla ascendente y descendentemente

Qué es el record set?

Esta es la consulta en la función principal:

cQuery := 'select * from reporte where mes_fantasma = ' + Str( nMes ) + ' order by fecha DESC'

oQry := o : oRep : RowSet( cQuery )


En las funciones siguientes es donde quiero invertir el orden, de DESC a ASC
by santidedos
Sun Mar 21, 2021 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ordenar una tabla ascendente y descendentemente
Replies: 11
Views: 1258

Mysql_real_escape_string() problem

... know what could be the problem?? cSQL:=mysql_real_escape_string(::pLib,::hConnection,cSQL) function mysql_real_escape_string(pLib, hConnect, cQuery) return hb_DynCall( { "mysql_real_escape_string", pLib, hb_bitOr( hb_SysLong(),; hb_SysCallConv() ), hb_SysLong(), HB_DYN_CTYPE_CHAR_PTR, ...
by ricbarraes
Fri Sep 11, 2020 1:01 pm
 
Forum: mod_harbour
Topic: Mysql_real_escape_string() problem
Replies: 4
Views: 648

Re: ERROR FWMARIADB, Mr. Rao. URGENTE!

Utilizo lo siguiente sin inconvenientes
::oServer:SqlQuery(cQuery )
by cjcardoza
Wed Aug 12, 2020 6:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR FWMARIADB, Mr. Rao. URGENTE!
Replies: 6
Views: 773

Re: FWH MySQL/MariaDB Rowset / cQuery / SOLUCIONADO

Se agradece Mr. Rao
Recien me cambio de version
by cjcardoza
Sat Jun 20, 2020 11:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWH MySQL/MariaDB Rowset / cQuery
Replies: 4
Views: 1452
Next

Return to advanced search