Search found 5312 matches: sql

Return to advanced search

Re: FWHMYSQL Insert failing

... "ftext,fnum", { "one", 1 } )   XBROWSER oCn:testinsert   FW_MEMOEDIT( oCn:CreateTableSQL( "testinsert" ) )   oCn:Close()return nil This is working well for me: https://imagizer.imageshack.com/v2/xq70/923/043Ca8.png ...
by nageswaragunupudi
Sat Apr 06, 2024 1:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWHMYSQL Insert failing
Replies: 6
Views: 395

Consulta TWebView2 - pase de informacion

... no veo alguno de como pasar informacion de FWH a HTML, por ejemplo si quiero mostrar un grafico con las ventas anuales, debo hacer la consulta SQL y obtener los datos, eso esta claro, pero que es mejor, hacer la consulta desde FWH y pasar los arreglos con la informacion a mostrar a la TWebView2, ...
by Enrrique Vertiz
Sat Mar 30, 2024 10:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta TWebView2 - pase de informacion
Replies: 4
Views: 904

Re: Problema super raro

I get this error Error description: (DOS Error -2147352567) WINOLE/1007 [MySQL][ODBC 5.1 Driver][mysqld-5.1.53-community]Undeclared variable: oRsWrk (0x80004005): Microsoft OLE DB Provider for ODBC Drivers Args: [ 1] = C SELECT * INTO oRsWrk FROM oRsDet oRsWrk and oRsDet ...
by nageswaragunupudi
Sun Mar 24, 2024 10:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema super raro (SOLUCIONADO)
Replies: 10
Views: 2084

Ayuda con Mensaje Error irrecuperable 9009: hb_xrealloc

... Hace lo que se supone debe hacer, pero tengo cada vez tengo este error entre los 5.000 y 6.000 archivos procesados Application Internal Error - C:\SQL\xNewAqua\xNewII.Exe Terminated at: 2024-03-20 16:18:46 Error irrecuperable 9009: hb_xrealloc no puede reubicar la memoria...... It fails in no specific ...
by Adolfo
Wed Mar 20, 2024 7:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con Mensaje Error irrecuperable 9009: hb_xrealloc
Replies: 4
Views: 840

Help with HB_REALLOC ERROR 9009

... Hace lo que se supone debe hacer, pero tengo cada vez tengo este error entre los 5.000 y 6.000 archivos procesados Application Internal Error - C:\SQL\xNewAqua\xNewII.Exe Terminated at: 2024-03-20 16:18:46 Error irrecuperable 9009: hb_xrealloc no puede reubicar la memoria...... It fails in no specific ...
by Adolfo
Wed Mar 20, 2024 7:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with HB_REALLOC ERROR 9009
Replies: 5
Views: 1092

Re: Question about performance RowSet

... In case we need the structure, call this immediately aStruct := oCn:Execute() QueryResult This is an extension to Execute. if we use an sql like "select age from customer where id = 100" this function returns 58, instead of {{58}} That is ok, works fine.
by Eroni
Wed Mar 20, 2024 1:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 4009

Re: Question about performance RowSet

... In case we need the structure, call this immediately aStruct := oCn:Execute() QueryResult This is an extension to Execute. if we use an sql like "select age from customer where id = 100" this function returns 58, instead of {{58}} As you indicated above, if we want to edit ...
by nageswaragunupudi
Sat Mar 16, 2024 10:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 4009

Re: FW_DbfSqlQuery con campos mayores de 256 carracteres

... is reset to the next record. It is not a 100% correct solution but it works for me, since normally I will not use fields greater than 256 for the SQL queries that I will perform with ADO.
by VictorCasajuana
Fri Mar 08, 2024 2:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FW_DbfSqlQuery con campos mayores de 256 carracteres
Replies: 3
Views: 651

FW_DbfSqlQuery con campos mayores de 256 carracteres

Hola a todos. Estoy intentando trabajar con tablas DBF pero mediante consultas SQL pero me encuentro con un problema cuando los campos CARACTER son superiores a 256 caracteres. He probado hacer las consultas mediante la función que provee Fivewin FW_DbfSqlQuery(), ...
by VictorCasajuana
Tue Mar 05, 2024 9:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FW_DbfSqlQuery con campos mayores de 256 carracteres
Replies: 3
Views: 651

Re: FW_DbfSqlQuery GROUP BY no funciona

Thanks for your reply.
Indeed, I have seen that the problem is the SQL syntax. I am very used to using MySql for web purposes. Now it's time to learn MSSQL to be able to advance in FiveWin Harbour.
by VictorCasajuana
Tue Feb 27, 2024 2:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FW_DbfSqlQuery GROUP BY no funciona
Replies: 4
Views: 202

Re: FW_DbfSqlQuery GROUP BY no funciona

Syntax of SQL Query has nothing to do with FWH function. It is for the programmer to know the correct syntax of SQL supported by Jet OLE/ACE ole Normally GROUP BY clause is used for Aggregate functions. Example: SELECT STATE,SALARY ...
by nageswaragunupudi
Mon Feb 26, 2024 12:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FW_DbfSqlQuery GROUP BY no funciona
Replies: 4
Views: 202

Re: Mr. Rao, refresh a Tree

Please also give me the SQL to read the data from the 3 tables
by nageswaragunupudi
Fri Feb 09, 2024 2:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao, refresh a Tree
Replies: 21
Views: 714

Re: RAO advice on using Mysql

:ActiveConnections is only for ADO recordsets. In fwmaria lib, it is oRs:oCn. To change the sql, please make a new RecSet object, set it to oBrw:oDbf and then close the old RecSet object You may try this sample and use similar logic #include "fivewin.ch"function ...
by nageswaragunupudi
Wed Feb 07, 2024 4:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RAO advice on using Mysql
Replies: 12
Views: 973

Re: Clase Nativa MySql

Como ser, quiero saber como saber la ultima consulta que que hizo (query)


Code: Select all  Expand view
? oCn:cLastSQL


Also you can view last 10 sql statements executed
Code: Select all  Expand view
XBROWSER oCn:aSQL


This works from FWH2102 onwards.
by nageswaragunupudi
Mon Feb 05, 2024 7:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase Nativa MySql
Replies: 18
Views: 1848

Re: SQL connection

Got it working. It was a setting in MS-SQL. I had to enable both Windows Authentication and SQL user authentication.

Thanks again for the help.
by Jeff Barnes
Sat Feb 03, 2024 1:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SQL connection
Replies: 6
Views: 552
Next

Return to advanced search