Search found 30 matches: odatabase

Return to advanced search

Re: Clase database y ordScope

Estimado Horacio,

Has probado con oDataBase:RecCount() ?
by Antonio Linares
Sat Jan 14, 2023 6:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase database y ordScope
Replies: 5
Views: 485

Clase database y ordScope

Colegas, estoy haciendo filtros con la función oDatabase : ordScope y necesitaría saber cuantos registros tengo en el filtro. He mirado la clase pero no encuentro ningún método que me devuelva la cantidad de registros. Alguien sabe. Desde ya muchas gracias.

Saludos
by horacio
Fri Jan 13, 2023 3:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase database y ordScope
Replies: 5
Views: 485

Xbrowse as a screen designer

... more in the program itself oInv_Cust... (colors, font, ....) Has anyone a sample using this technique ? Most likely i will also be using (Oop the oDatabase technique) for new parts of the program Would you use row/col or pixels ? (I will be using 1 kind of screen, NO changes of resolution are ...
by Marc Venken
Wed Dec 23, 2020 10:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse as a screen designer
Replies: 2
Views: 352

Re: A toolbox of netfunctions and tDatabase-tests

... I suspect you specified "CUST" was the alias. You need to do this to specify that the browse is using a database object: oBrw:SetoDBF( oDatabase ) // where oDatabase is whatever name you have used for the database object oBrw gets the alias from there. James
by James Bott
Fri Jan 25, 2019 5:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A toolbox of netfunctions and tDatabase-tests
Replies: 30
Views: 6241

Re: Error in Tdatabase version 1804 ?

I solved it.

If I say oDatabase:load(.t.) before editing everything is fine. Thank you
Alvaro
by alvaro533
Thu Dec 20, 2018 10:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error in Tdatabase version 1804 ?
Replies: 6
Views: 1051

Re: Error in Tdatabase version 1804 ?

Hi again.

I realized that the record is not actually saved, but if you press twice or three times the button “Cancel”, the value of oDatabase:name is changed, even if you say oDatabase:load() before the dialog. If you don’t understand my point I will give you an example. Regards

Alvaro
by alvaro533
Thu Dec 20, 2018 10:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error in Tdatabase version 1804 ?
Replies: 6
Views: 1051

Re: Algun experto en el foro que use o uso Eagle 1 ?

... AADD(oDp:aDPMYSQLBD,{cIp,cDb,oDb,oMySql}) RETURN oDb FUNCTION DPMYSQLSTART(cIp,cLogin,cPass,nPort,lError) LOCAL lHayError:=.F. ,oMySqlCon:=NIL,nAt,oDataBase DEFAULT cIp :=oDp:cIp ,; cLogin :=oDp:cLogin,; cPass :=oDp:cPass ,; nPort :=oDp:nPort ,; lError:=.T. DEFAULT oDp:aMySql:={} cIp :=ALLTRIM(cIp ...
by jnavas
Thu Nov 15, 2018 2:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Algun experto en el foro que use o uso Eagle 1 ?
Replies: 15
Views: 3452

Re: Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE

... I oTable:End() ? oTable:cSqlExec,LSTR(LEN(aFiles))+CRLF+"Archivos registrados en tabla MYTABLA" RETURN NIL FUNCTION OpenTable(cSql,lLoad,oDataBase) DEFAULT oDataBase:=oDb RETURN TTable():New(cSql,lLoad,oDataBase) CLASS Ttable DATA oDataBase DATA oCursor DATA lAppend INIT .T. DATA aBuffer ...
by Compuin
Mon Nov 12, 2018 8:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE
Replies: 15
Views: 3668

Re: Tabla MySql en Array y xBrowse

... #include "xbrowse.ch" #include "fivewin.ch" PROCEDURE main() local oWnd, oBrw, oCol local oCon, oTb, oCur, oDataBase // Objetos de Eagle1 local cHost := "127.0.0.1" local cUser := "root" local cPassword := "" local cDbName := ...
by Compuin
Wed Jun 07, 2017 4:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tabla MySql en Array y xBrowse (RESUELTO)
Replies: 15
Views: 2248

Re: Tabla MySql en Array y xBrowse

... aFields:={} aFields:=oCursor obrw := TXBrowse():New( ownd ) obrw:SetArray( aFields, .t. ) oCursor lo llamo asi oTb := TMsTable( cTabla ):New( oDatabase, cTabla ) // Abrimos la tabla, traemos el resultado a nuestro cliente if !oTb:Open() MsgInfo( "No se puede abrir la tabla: " + cTabla, ...
by Compuin
Tue Jun 06, 2017 8:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tabla MySql en Array y xBrowse (RESUELTO)
Replies: 15
Views: 2248

Re: Error: Unresolved external '_HB_FUN___CLS_PARAM' referenced

Prueba a cambiar esta línea:

__oDatabase := HBClass():New( cClsName, __CLS_PARAM ( cFromClass ) )

así:

__oDatabase := HBClass():New( cClsName, cFromClass )
by Antonio Linares
Sun Apr 16, 2017 12:03 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error: Unresolved external '_HB_FUN___CLS_PARAM' referenced
Replies: 27
Views: 2290

Re: Migrar xHarbour a Harbour HBClass

Y a que se debe que lance el error al cambiar __oDatabase := HBClass():New( cClsName, __CLS_PARAM ( cFromClass ) )por __oDatabase := HBClass():New( cClsName,{ cFromClass } ) ?
by Compuin
Sat Apr 15, 2017 12:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Migrar xHarbour a Harbour HBClass
Replies: 15
Views: 2252

Re: Migrar xHarbour a Harbour HBClass

Aca el codigo function TMyMSQuery( cCls ) ; return( MyGenClass( cCls, TMSQuery() ) ) The variable __aHCls AAdd( __aHCls, { cClsName, __nClassH } ) the class and handle How free static __aHCls := {} #include "HbClass.ch" function MyGenClass( cClsName, FromClass ) local n, __nClassH, __odata...
by Compuin
Fri Apr 14, 2017 11:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Migrar xHarbour a Harbour HBClass
Replies: 15
Views: 2252

Migrar xHarbour a Harbour HBClass

Hola

MIgrando de xHarbour a Habrbour 3.2 tengo problemas con la HBClass, al parecer Harbour no la reconoce

__oDatabase := HBClass():New( cClsName, __CLS_PARAM ( cFromClass ) )

Ya que me arroja lo siguiente

Error: Unresolved external '_HB_FUN___CLS_PARAM' referenced from...

Alguna solucion ?
by Compuin
Fri Apr 14, 2017 11:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Migrar xHarbour a Harbour HBClass
Replies: 15
Views: 2252

Re: bkeydown WITH GET using oDatabase

Thanks Mr.Marcelo.

It works now.

Regards
by dagiayunus
Tue Feb 02, 2016 3:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bkeydown WITH GET using oDatabase
Replies: 2
Views: 410
Next

Return to advanced search