Search found 4701 matches: select

Return to advanced search

Mysql recover values usaing field names

How can I recover values from a SELECT using the field name and not its position in th array? oCn :=maria_Connect( cHost,cUser,cDb,cPwd ) IF oCn=NIL msgwait("Error conectando con eventos en la nube","") return nil ENDIF ...
by PAUL SIMM
Mon Nov 18, 2024 6:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mysql recover values usaing field names
Replies: 3
Views: 195

Re: xbrowse(autosort) + tdolphin - erro

Here the error occurs, it seems that internally xbrowse does SELECT *... see the error log There is NO problem with XBrowse. XBroswe does not make any SELECT queries. XBrowse simply calls oYourDolpinQry:SetOrder( cFieldName ) Your error is occurring ...
by nageswaragunupudi
Fri Nov 15, 2024 2:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse(autosort) + tdolphin - erro
Replies: 6
Views: 174

Re: xbrowse(autosort) + tdolphin - erro

Param 1: C "SELECT * FROM nfsaida AS nf LEFT JOIN pedidos AS p ON (nf.chave=p.chave) LEFT JOIN clientes AS c ON (nf.cliente = c.codigo) WHERE IF(nf.filialfiscal!=0,nf.filialfiscal,nf.filial) = 1 AND nf.emissao BETWEEN '2024-11-01' ...
by cmsoft
Fri Nov 15, 2024 2:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse(autosort) + tdolphin - erro
Replies: 6
Views: 174

Re: xbrowse(autosort) + tdolphin - erro

Here the error occurs, it seems that internally xbrowse does SELECT *... see the error log Time from start: 0 hours 1 mins 17 secs Error occurred at: 14/11/2024, 15:28:38 Error description: Error MYSQL/1052 Column 'chave' in order clause is ambiguous Stack ...
by MGA
Thu Nov 14, 2024 6:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse(autosort) + tdolphin - erro
Replies: 6
Views: 174

TArrayData + fromMYSQL + lista_campos

... TArrayData,,, se pueda construir y retornar con una estructura de campos, pasada como parámetro.. ver ejemplo.. Nota : buscando optimizar el select interno que actualmente es "select * from" ejp : local cLisCam := "campo1,campo2,..."oRs := TArrayData():NEW(oConSql, ...
by russimicro
Thu Nov 14, 2024 4:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TArrayData + fromMYSQL + lista_campos
Replies: 0
Views: 91

Re: xbrowse(autosort) + tdolphin - erro

... oQry, oBrw CONNECT oServer HOST 'localhost' ; USER 'root' ; PASSWORD 'miclave' ; PORT 3306 ; FLAGS 0; DATABASE 'test' oQry := oServer:Query('SELECT p.chave as chave, p.data as data, c.nome as nome FROM ped AS p LEFT JOIN cli AS c ON(c.codigo=p.codigo) ORDER BY p.chave') DEFINE DIALOG oForm ...
by MGA
Thu Nov 14, 2024 2:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse(autosort) + tdolphin - erro
Replies: 6
Views: 174

xbrowse(autosort) + tdolphin - erro

... between tables, which coincidentally has a field in the table with the same name: "key". But this field is not part of the query. SELECT p.key, p.data, c.name FROM orders AS p LEFT JOIN customers AS c ON(c.code=p.code) the browse works fine, however when clicking on the header ...
by MGA
Wed Nov 13, 2024 9:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse(autosort) + tdolphin - erro
Replies: 6
Views: 174

Re: Problema con un query con Ado

wfecha:=Dtos(Ctod('07/11/2024')) Text Into cSql SELECT m1.tropanumero AS tropa, m1.correlativo, ani.descripcion, m1.inac AS INACUR,ROUND( t.kilosen1 / t.cabezas , 2) AS KEnPie, m1.kilos + isnull(m2.kilos,0) AS KClasif, m1.precioen2 FROM C10304 m1 ...
by jacgsoft
Mon Nov 11, 2024 8:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema con un query con Ado
Replies: 15
Views: 295

Re: off topic: Xharbour mingw 32 bits

Enrico Maria Giordano

Just add this line to your ilink32.cfg:

Code: Select all Expand view
-GF:LARGEADDRESSAWARE


thank you very much!
by MGA
Fri Nov 08, 2024 9:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: off topic: Xharbour mingw 32 bits
Replies: 24
Views: 699

Re: Another setcheck xbrowse

... := { || { CLR_WHITE, ORANGE } } no good for me https://i.postimg.cc/zvvvX1Qc/hh.png I wish have the text white on orange when I select one record and when I click over ( true) the second column ( that is checked) must colorize of orange
by Silvio.Falconi
Sun Nov 03, 2024 11:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another setcheck xbrowse - RESOLVED -
Replies: 8
Views: 260

color on xbrowse Box

I have this color on cell

Image

But I set
:bClrSelFocus := { || {0,RGB(204,242,255)}}
:bClrRowFocus := { || {0,RGB(204,242,255) }}

then when I select a cell it change with my color
by Silvio.Falconi
Mon Oct 28, 2024 6:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: color on xbrowse Box
Replies: 3
Views: 162

a DBCOMBO review

... name of the field, but also an expression for example " trim(first) + ' ' + trim(last) " "alltrim(str(id))" this way we can select numeric fields I leave the source and example, the example is in the dbcombo.prg source https://app.box.com/s/tdp8d0odtcydwcld755e0e5etcv18v75
by Marcelo Via Giglio
Mon Oct 28, 2024 4:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: a DBCOMBO review
Replies: 0
Views: 100

Re: Recuperar conexión ADO mysql

... Noté en el mensaje de error que se está utilizando odbc 3.51 ODBC 3.51 es malo. Ha passado mucho tiempo, no recuerdo cuál era el comando. Mismo SELECT simple, odbc 3.51 causó desconexión, pero odbc 5.3 ningún problema. Nunca volvi a usar odbc 3.51 después de eso. Y en ConnectionString de 5.3 ...
by JoséQuintas
Sat Oct 26, 2024 4:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Recuperar conexión ADO mysql
Replies: 5
Views: 491

Re: Understanding Harbour's internal behavior

... (free) 2. create a new notebook and add sources to it. You can directly provide GitHub URLs to the Harbour/xHarbour modules. 3. Select the language to use: In example for spanish use "El podcast está orientado al público hispanoparlante. !IMPORTANTE hablad en español!" ...
by Antonio Linares
Sat Oct 26, 2024 9:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Understanding Harbour's internal behavior
Replies: 3
Views: 165

a future proposal for Xbrowse

https://i.postimg.cc/Bn5rY7b8/VB-Xbrowse.gif in VB net there is a grid with which one can select all the cells and then by doing ctrl+C one can copy the content and transfer it to a notepad file, in Xbrowse this is not yet possible I hope that in the future ...
by Silvio.Falconi
Fri Oct 25, 2024 1:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: a future proposal for Xbrowse
Replies: 1
Views: 183
Next

Return to advanced search