... ADOX again and it work so far ...
FUNCTION FW_ADOX_CreateExcelTable( oCn, cTable, aStruct )
LOCAL oCat := CreateObject( "ADOX.Catalog" )
LOCAL oTable, aFld, n, cType
LOCAL oCol
LOCAL nType, nLen, i, iMax, cName
oCat:ActiveConnection := oCn
cTable := LOWER( cTable )
oTable := CreateObject ...
Search found 41 matches: otable
Searched query: otable
- Wed Aug 16, 2023 5:22 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: DBF to Excel Sheet, without Excel, using ADO ?
- Replies: 50
- Views: 8566
- Wed Feb 22, 2023 4:19 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Error al compilar Harbour - FW2212
- Replies: 1
- Views: 287
Error al compilar Harbour - FW2212
... migrando de xHarbour a Harbor 3.2
La siguiente línea muestra un error de compilación.
REDEFINE GET ::oSay[7] VAR TFiltraCR():RetCommand(cr():oTable) ID 102 OF ::oFld:aDialogs[3] ACTUALIZAR IMAGEN DE SOLO LECTURA "@!"
\sis\fsql901\ctarec\tcr.PRG(341) Error E0022 Valor l no válido ':'
He ...
La siguiente línea muestra un error de compilación.
REDEFINE GET ::oSay[7] VAR TFiltraCR():RetCommand(cr():oTable) ID 102 OF ::oFld:aDialogs[3] ACTUALIZAR IMAGEN DE SOLO LECTURA "@!"
\sis\fsql901\ctarec\tcr.PRG(341) Error E0022 Valor l no válido ':'
He ...
- Thu Mar 18, 2021 7:45 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Referencia a una data
- Replies: 5
- Views: 944
Re: Referencia a una data
Creo que ya te entiendo!!!
En vez de esto:
__objSendMsg( Self, "oRs" + oTable:cFile, oSys:oConn:Query( cSelect ) )
pon esto
__objSendMsg( Self, "_oRs" + oTable:cFile, oSys:oConn:Query( cSelect ) )
En vez de esto:
__objSendMsg( Self, "oRs" + oTable:cFile, oSys:oConn:Query( cSelect ) )
pon esto
__objSendMsg( Self, "_oRs" + oTable:cFile, oSys:oConn:Query( cSelect ) )
- Thu Mar 18, 2021 7:01 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Referencia a una data
- Replies: 5
- Views: 944
Re: Referencia a una data
Hola Ricardo.
Tu data está basada en una variable con el nombre formado por "oRs" + oTable:cFile
Eso es complicado de trata directamente el el método pero para ello tendrías que usar macros.
Por otro lado me aventuro a afirmar sin ver todo el código que estás creando data a la clase y no al objeto ...
Tu data está basada en una variable con el nombre formado por "oRs" + oTable:cFile
Eso es complicado de trata directamente el el método pero para ello tendrías que usar macros.
Por otro lado me aventuro a afirmar sin ver todo el código que estás creando data a la clase y no al objeto ...
- Thu Mar 18, 2021 6:45 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Referencia a una data
- Replies: 5
- Views: 944
Referencia a una data
Buenas tardes.
Compañeros, declaro una DATA en mi clases con el comando __objAddData( Self, "oRs" + oTable:cFile ),
Como puedo (dentro del mismo method donde la declaro) hacer referencia a ella (ya como data de la clase) ?
Muchas Gracias
Compañeros, declaro una DATA en mi clases con el comando __objAddData( Self, "oRs" + oTable:cFile ),
Como puedo (dentro del mismo method donde la declaro) hacer referencia a ella (ya como data de la clase) ?
Muchas Gracias
- Fri Oct 18, 2019 8:38 am
- Forum: WhatsNew / Novedades
- Topic: New FTDN September/Septiembre 2019 (FWH 19.09)
- Replies: 1
- Views: 4906
Re: New FTDN September/Septiembre 2019 (FWH 19.09)
... de pincel/brocha. Si no se especifica o si algún
elemento es nulo, se utilizan colores predeterminados.
- METHOD PrintTable( nRow, nCol, oTable, nWidth, nHeight, [oFont], [lBorder], ;
[cTitle], [cUnits] )
Útil para incrustar una tabla simple y pequeña dentro de un área especificada en un ...
elemento es nulo, se utilizan colores predeterminados.
- METHOD PrintTable( nRow, nCol, oTable, nWidth, nHeight, [oFont], [lBorder], ;
[cTitle], [cUnits] )
Útil para incrustar una tabla simple y pequeña dentro de un área especificada en un ...
- Sun Oct 13, 2019 11:14 am
- Forum: WhatsNew / Novedades
- Topic: New FTDN September/Septiembre 2019 (FWH 19.09)
- Replies: 1
- Views: 4906
New FTDN September/Septiembre 2019 (FWH 19.09)
... aColors: Array of colors or Brush objects. If not specified or if any element
is nil, default colors are used.
- METHOD PrintTable( nRow, nCol, oTable, nWidth, nHeight, [oFont], [lBorder], ;
[cTitle], [cUnits] )
Useful for embedding a simple and small table within a specified area in a ;
print ...
is nil, default colors are used.
- METHOD PrintTable( nRow, nCol, oTable, nWidth, nHeight, [oFont], [lBorder], ;
[cTitle], [cUnits] )
Useful for embedding a simple and small table within a specified area in a ;
print ...
- Sun Sep 29, 2019 3:46 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH 1908: TPrinter class Enhancements: Charts, Tables, more
- Replies: 2
- Views: 860
FWH 1908: TPrinter class Enhancements: Charts, Tables, more
... Array of colors or Brush objects. If not specified or if any element is nil, default colors are used.
METHOD PrintTable( nRow, nCol, oTable, nWidth, nHeight, [oFont], [lBorder], [cTitle], [cUnits] )
Useful for embedding a simple and small table ...
METHOD PrintTable( nRow, nCol, oTable, nWidth, nHeight, [oFont], [lBorder], [cTitle], [cUnits] )
Useful for embedding a simple and small table ...
- Fri Jun 07, 2019 11:14 am
- Forum: WhatsNew / Novedades
- Topic: New FTDN May/Mayo 2019 (FWH 19.05)
- Replies: 4
- Views: 5901
Re: New FTDN May/Mayo 2019 (FWH 19.05)
... Table( cTable ) --> ORM_Table Object
Close()
- Class ORM_Table()
Se puede crear una instancia del objeto de tabla mediante una llamada
oTable := oConnection:Table( cTableName )
o
oTable := ORM_Table():New( oConnection, cTableName )
Métodos:
Navegación: First(), Last(), Next(), Prev ...
Close()
- Class ORM_Table()
Se puede crear una instancia del objeto de tabla mediante una llamada
oTable := oConnection:Table( cTableName )
o
oTable := ORM_Table():New( oConnection, cTableName )
Métodos:
Navegación: First(), Last(), Next(), Prev ...
- Mon Jun 03, 2019 12:54 pm
- Forum: WhatsNew / Novedades
- Topic: New FTDN May/Mayo 2019 (FWH 19.05)
- Replies: 4
- Views: 5901
New FTDN May/Mayo 2019 (FWH 19.05)
... cTable ) --> lExists
Table( cTable ) --> ORM_Table Object
Close()
- Class ORM_Table()
Table object can be instantiated either by calling
oTable := oConnection:Table( cTableName )
or
oTable := ORM_Table():New( oConnection, cTableName )
Methods:
Navigation: First(), Last(), Next(), Prev ...
Table( cTable ) --> ORM_Table Object
Close()
- Class ORM_Table()
Table object can be instantiated either by calling
oTable := oConnection:Table( cTableName )
or
oTable := ORM_Table():New( oConnection, cTableName )
Methods:
Navigation: First(), Last(), Next(), Prev ...
- Tue Nov 13, 2018 12:44 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE
- Replies: 15
- Views: 5046
Re: Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE
Saludos
Afirmativo
La clase realiza UPDATE si tiene registros,
oTable:=OpenTable(cSql)
IF oTable:RecCount()=0
oTable:AppendBlank()
ENDIF
oTable:Replace("CAMPO1,nValor)
oTable:Commit(oTable:cWhere) // Si oTable:cWhere esta vacio, INSERT INTO FIELDS,VALUES, caso contrario UPDATE TABLE SET
oTable ...
Afirmativo
La clase realiza UPDATE si tiene registros,
oTable:=OpenTable(cSql)
IF oTable:RecCount()=0
oTable:AppendBlank()
ENDIF
oTable:Replace("CAMPO1,nValor)
oTable:Commit(oTable:cWhere) // Si oTable:cWhere esta vacio, INSERT INTO FIELDS,VALUES, caso contrario UPDATE TABLE SET
oTable ...
- Tue Nov 13, 2018 12:23 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE
- Replies: 15
- Views: 5046
Re: Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE
Saludos
Afirmativo
La clase realiza UPDATE si tiene registros,
oTable:=OpenTable(cSql)
IF oTable:RecCount()=0
oTable:AppendBlank()
ENDIF
oTable:Replace("CAMPO1,nValor)
oTable:Commit(oTable:cWhere) // Si oTable:cWhere esta vacio, INSERT INTO FIELDS,VALUES, caso contrario UPDATE TABLE SET
oTable ...
Afirmativo
La clase realiza UPDATE si tiene registros,
oTable:=OpenTable(cSql)
IF oTable:RecCount()=0
oTable:AppendBlank()
ENDIF
oTable:Replace("CAMPO1,nValor)
oTable:Commit(oTable:cWhere) // Si oTable:cWhere esta vacio, INSERT INTO FIELDS,VALUES, caso contrario UPDATE TABLE SET
oTable ...
- Tue Nov 13, 2018 12:20 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE
- Replies: 15
- Views: 5046
Re: Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE
Saludos
Afirmativo
La clase realiza UPDATE si tiene registros,
oTable:=OpenTable(cSql)
IF oTable:RecCount()=0
oTable:AppendBlank()
ENDIF
oTable:Replace("CAMPO1,nValor)
oTable:Commit(oTable:cWhere) // Si oTable:cWhere esta vacio, INSERT INTO FIELDS,VALUES, caso contrario UPDATE TABLE SET
oTable ...
Afirmativo
La clase realiza UPDATE si tiene registros,
oTable:=OpenTable(cSql)
IF oTable:RecCount()=0
oTable:AppendBlank()
ENDIF
oTable:Replace("CAMPO1,nValor)
oTable:Commit(oTable:cWhere) // Si oTable:cWhere esta vacio, INSERT INTO FIELDS,VALUES, caso contrario UPDATE TABLE SET
oTable ...
- 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: 5046
Re: Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE
... include "FiveWin.ch"
STATIC oServer,oDb,bSqlDate,cTypeBD
FUNCTION MAIN()
LOCAL cIp :="localhost"
LOCAL cLogin:="root"
LOCAL cPass :=""
LOCAL oTable
LOCAL aFiles:=DIRECTORY("*.*"),I
SET DATE FREN
SET CENTURY ON
cTypeBD:="MYSQL"
IF !CONECTAR(cIp,cLogin,cPass)
SALIR()
RETURN NIL
ENDIF ...
STATIC oServer,oDb,bSqlDate,cTypeBD
FUNCTION MAIN()
LOCAL cIp :="localhost"
LOCAL cLogin:="root"
LOCAL cPass :=""
LOCAL oTable
LOCAL aFiles:=DIRECTORY("*.*"),I
SET DATE FREN
SET CENTURY ON
cTypeBD:="MYSQL"
IF !CONECTAR(cIp,cLogin,cPass)
SALIR()
RETURN NIL
ENDIF ...
- Mon May 15, 2017 2:22 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH: MySql/MariaDB: RowSet object
- Replies: 55
- Views: 30084
Re: FWH: MySql/MariaDB: RowSet object
Afer
::oTable := oCn:RowSet( 'produtos', 20) // page with 20 rows
Add
::oTable:lAutoExpand := .t.
Please redefine XBROWSE with column syntax to avail all features of xBrowse
Eg: REDEFINE XBROWSE ::oBrw ID 100 OF ::ODLG ; DATASOURCE ::oTable ;   ...
::oTable := oCn:RowSet( 'produtos', 20) // page with 20 rows
Add
::oTable:lAutoExpand := .t.
Please redefine XBROWSE with column syntax to avail all features of xBrowse
Eg: REDEFINE XBROWSE ::oBrw ID 100 OF ::ODLG ; DATASOURCE ::oTable ;   ...