Search found 15 matches: ocon

Searched query: ocon

by karinha
Fri Jan 10, 2025 2:08 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Por qué el oDLG cambia de color?
Replies: 22
Views: 1493

Re: Por qué el oDLG cambia de color?

... T. ) // .T. -> Forca a limpeza de lixo(basuras).

CLEAR MEMORY

WinHelp( GetHelpFile(), 2 )

// MEMORY( - 1 ) // ESTO NO FUNCIONA MAS

oApp:oCon:Close( ) // ??

oWindow:oBar:End() // ???

// oWnd:End() // ??

IF FILE( "checkres.txt" )
FErase( "checkres.txt" )
ENDIF

CheckRes ...
by vilian
Mon Dec 30, 2024 2:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Lost connection to MySQL server during query
Replies: 40
Views: 15929

Re: Lost connection to MySQL server during query

... fintion. At the moment the error is a MsgInfo and the process which is automatic with a Timer blocks the aplication.

This code do'snt do this

oCon:Execute(cQwery)

if oCon:nError != 0
MSGWAIT("Error executando query","Line 10961")
oCon:Close()
RETURN .F.
endif

I used to work with Eagle I ...
by PAUL SIMM
Mon Dec 30, 2024 1:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Lost connection to MySQL server during query
Replies: 40
Views: 15929

Re: Lost connection to MySQL server during query

... fintion. At the moment the error is a MsgInfo and the process which is automatic with a Timer blocks the aplication.

This code do'snt do this

oCon:Execute(cQwery)

if oCon:nError != 0
MSGWAIT("Error executando query","Line 10961")
oCon:Close()
RETURN .F.
endif

I used to work with Eagle I ...
by nageswaragunupudi
Fri Nov 22, 2024 3:32 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Soporte a mariaConnect ?
Replies: 11
Views: 1808

Re: Soporte a mariaConnect ?

... para quienes están empezando a trabajar con sql y mariaConnect

La clase TarrayData es muy útil a la hora de trabajar con las respuestas sql : oCon:Execute()
permite cargar el result, en este objeto de memoria y operarlo (CRUD), sin afectar la base de datos... permite operaciones como : filtrar ...
by russimicro
Fri Nov 22, 2024 2:15 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Soporte a mariaConnect ?
Replies: 11
Views: 1808

Re: Soporte a mariaConnect ?

... para quienes están empezando a trabajar con sql y mariaConnect

La clase TarrayData es muy útil a la hora de trabajar con las respuestas sql : oCon:Execute()
permite cargar el result, en este objeto de memoria y operarlo (CRUD), sin afectar la base de datos... permite operaciones como : filtrar ...
by admsoporte
Wed Aug 07, 2024 6:56 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Velocidad al grabar multiples registros en Mysql
Replies: 8
Views: 1931

Re: Velocidad al grabar multiples registros en Mysql

Buenas tardes desde Puebla Mexico, yo tuve esa problematica y la resolvi utilizando el metodo SetAutoCommit( lOnOff) del objecto Connection (oCon)
primero antes de iniciar los insert lo pongo desactivado
oCon:SetAutoCommit(.f.)
y al terminar todas las inserciones lo regreso a activado
oCon ...
by Armando
Thu Mar 28, 2024 1:09 am
Forum: FiveWin para Harbour/xHarbour
Topic: Problema super raro (SOLUCIONADO)
Replies: 10
Views: 3565

Re: Problema super raro (SOLUCIONADO)

... several nightmare nights, I have finally solved the problem,
the problem was in the last line of this code.


oRsWrk := FW_OpenRecordSet(oApp:oCon,"SELECT " +;
"*," +;
"RUB_DES," +;
"CON_DES " +;
"FROM " +;
cTabNam + " " +;
"LEFT JOIN " +;
"Rubros " +;
"ON " +;
"WRK_RUB = Rubros.RUB ...
by MANOLO
Mon Jan 29, 2024 5:18 pm
Forum: FiveWin for Harbour/xHarbour
Topic: connecting SQL SERVER VIA ODBC PROLEM
Replies: 0
Views: 624

connecting SQL SERVER VIA ODBC PROLEM

... program made by FW works fine, now we are made a change in the server and we have changed mysql by sql server and we have follow problem:


oApp:oCon:ConnectionString:= "Provider=SQLOLEDB;Password=xxxx3;Persist Security Info=True;User ID=XXXX;Initial Catalog=ERP6_base;Data Source=185.80.87.6 ...
by MANOLO
Mon Jan 29, 2024 5:09 pm
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 4
Views: 942

Re: CONEXION ADODB SQL SERVER

... orsPed:LockType := adLockOptimistic
orsPed:CursorType := adOpenDynamic
orsPed:Source :="select * from BasedeDatos"
orsPed:ActiveConnection( oApp:oCon )

TRY
orsPed:Open()
CATCH oError
MsgStop( "No se ha podido abrir el RECORDSET de Pedidos !", oApp:cAplicacion)
ShowError(oError)
CLOSE_DBF ...
by MANOLO
Mon Jan 29, 2024 9:12 am
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 4
Views: 942

CONEXION ADODB SQL SERVER

... datos por sql server, y me estoy volviendo loco me da error en el recordset, os paso como lo hago a ver si a alguien se le ocurre el porqué:

oApp:oCon:ConnectionString:= "Provider=SQLOLEDB;Password=xxxx3;Persist Security Info=True;User ID=XXXX;Initial Catalog=ERP6_base;Data Source=185.80.87.6 ...
by MANOLO
Mon Jan 29, 2024 9:12 am
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 0
Views: 464

CONEXION ADODB SQL SERVER

... datos por sql server, y me estoy volviendo loco me da error en el recordset, os paso como lo hago a ver si a alguien se le ocurre el porqué:

oApp:oCon:ConnectionString:= "Provider=SQLOLEDB;Password=xxxx3;Persist Security Info=True;User ID=XXXX;Initial Catalog=ERP6_base;Data Source=185.80.87.6 ...
by sysctrl2
Tue Jan 16, 2024 5:51 pm
Forum: FiveWin para Harbour/xHarbour
Topic: no me refresca un query
Replies: 7
Views: 773

Re: no me refresca un query

usas el Medhot ::oCon:RowSet ?
MariaDb

Code: Select all | Expand

cQry := "SELECT " + ::cSqlWhatsApp
   cQry += " FROM " + ::cTabla
   cQry += " ORDER BY " + ::cOrder
   ::oWhats_App := ::oCon:RowSet( cQry, ::nPageRow )
 
by jpcavagnaro
Wed Nov 22, 2023 11:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: Ayuda, busqueda incremental
Replies: 1
Views: 451

Ayuda, busqueda incremental

... Confirma " font oSegoe ID 120 OF oDlgStk ACTION ( lsave := .t., oDlgSTK:End() )
REDEFINE button btnMod ID 130 OF oDlgStk action (Editstock( oBrow, oCon, oRS1, oRS1:AbsolutePosition, .t. ), cSQL := wwcSQL) // Editstock( obrow, .t. )
REDEFINE button btnOK ID 4002 OF oDlgStk ACTION veoplan( precio_vta ...
by jpcavagnaro
Fri Nov 03, 2023 1:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ADO ejecutar
Replies: 2
Views: 398

ADO ejecutar

Hola buen día, como sería el equivalente de oCon:Execute( cSQL ) con ADO?
by nageswaragunupudi
Sun May 28, 2023 3:48 am
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with xBrowse (Fixed)
Replies: 34
Views: 4458

Re: Problem with xBrowse

oApp:oCon:Execute("USE Test")
What does this do?
Forgive my ignorance.
Is there a MySql command like "USE test"?