Search found 57 matches: nrows

Return to advanced search

Creating table with Trichedit

Using InsertTable( nRows, nCols )method of Trichedit
How insert data info on each cells?

For a sample I have an array aschema is 3 rows with 10 columns
How create a table on Rtf with this array ?
by Silvio.Falconi
Mon Jan 22, 2024 9:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 1455

Re: Xbrowse : oBrw:ToArray (How to do it)

... oBrw:bRClicked := { |r,c,f,oBrw| aResult := XbrToArray( oBrw, [ aCols ] ) } ) errorline = aData := Array( nRows, Len( aCols ) ) Error description: Error BASE/1111 Argument error: LEN Args: [ 1] = B {|| ... } Stack Calls =========== Called from: => LEN( ...
by Marc Venken
Wed Apr 12, 2023 2:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse : oBrw:ToArray (How to do it)
Replies: 13
Views: 957

Re: Parámetro bProgress FW_ExcelToDbf

bProgress recibe dos parámetros:

Eval( bProgress, 0, nRows )

el primero es siempre cero y el segundo parece ser nRows := oRange:Rows:Count

puedes revisarlo en source/function/dbffunc2.prg
by Antonio Linares
Sat Mar 06, 2021 10:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parámetro bProgress FW_ExcelToDbf
Replies: 2
Views: 300

Re: New FTDN January/Enero 2021 (FWH 21.01)

... aData, [aHead], [cTrue], [cFalse] ) --> cHTMLScript (valtostr.prg) * Nuevas funciones ADO ( adofuncs.prg ) - FW_ADORsToText( oRs, [nRows] ) --> Testo delimitado por tabulaciones - FW_AdoRsToHTML( oRs, [nRows] ) --> Testo cHTML mostrar la tabla - FW_AdoRsToCSV( oRs, [nRows] ...
by Antonio Linares
Sun Feb 07, 2021 9:15 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2021 (FWH 21.01)
Replies: 1
Views: 1256

New FTDN January/Enero 2021 (FWH 21.01)

... FW_ArrayToHTML( aData, [aHead], [cTrue], [cFalse] ) --> cHTMLScript (valtostr.prg) * New ADO functions( adofuncs.prg ) - FW_ADORsToText( oRs, [nRows] ) --> Tab delimited text - FW_AdoRsToHTML( oRs, [nRows] ) --> cHTML text to display the table - FW_AdoRsToCSV( oRs, [nRows] ) --> CSV ...
by Antonio Linares
Sun Feb 07, 2021 9:10 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2021 (FWH 21.01)
Replies: 1
Views: 1256

Re: New FTDN December/Diciembre 2020 (FWH 20.12)

... * Nueva clase FW_Matrix (para cálculos matriciales) CLASS FW_Matrix: DATAs de sólo lectura y métodos de acceso: DATA aMatrix READONLY DATA nRows, nCols READONLY ACCESS lSquare INLINE ( ::nRows == ::nCols ) ACCESS Determinant INLINE If( ::nRows == ::nCols, m_determinant( ::aMatrix ), 0 ) ...
by Antonio Linares
Mon Dec 28, 2020 3:18 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2020 (FWH 20.12)
Replies: 8
Views: 2552

New FTDN December/Diciembre 2020 (FWH 20.12)

... * New CLASS FW_Matrix (for matrix calculations) CLASS FW_Matrix: READ ONLY DATAS AND ACCESS METHODS: DATA aMatrix READONLY DATA nRows, nCols READONLY ACCESS lSquare INLINE ( ::nRows == ::nCols ) ACCESS Determinant INLINE If( ::nRows == ::nCols, m_determinant( ::aMatrix ), 0 ) ...
by Antonio Linares
Mon Dec 28, 2020 10:16 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2020 (FWH 20.12)
Replies: 8
Views: 2552

Re: FWH: Support for Matrix calculations

CLASS FW_Matrix: READ ONLY DATAS AND ACCESS METHODS: DATA aMatrix READONLY DATA nRows, nCols READONLY ACCESS lSquare INLINE ( ::nRows == ::nCols ) ACCESS Determinant INLINE If( ::nRows == ::nCols, m_determinant( ::aMatrix ), 0 ) ACCESS IsIdentity CONSTRUCTOR METHODS: ...
by nageswaragunupudi
Thu Dec 10, 2020 9:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: Support for Matrix calculations
Replies: 3
Views: 720

Re: How to generate Master/Deltail XML from maridb Rowsets ?

... first dimension of acHeader is considered as head and second dimension is considered as data. - ArrToJson( acHeader, aData ) - RsToJson( oAdoRs, [nRows], [nStart], [aFields] ) --> Json Array - FW_RecToJson( [acFields], [acNames] ) // for dbf record - FW_DbfToJson( [cFieldList], [bFor], [bWhile], ...
by cnavarro
Tue Aug 13, 2019 8:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to generate Master/Deltail XML from maridb Rowsets ?
Replies: 10
Views: 1504

Re: Recordset to hash

... tema parece estar por el lado del tercer parámetro, que a este momento sigo sin entender, es el mismo parámetro que recibe la función oRs:GetRows( nRows, nStart ), pero sigo sin comprender para qué sirve. :shock: oVar:="SELECT * FROM clientes"oRsFtr := FW_OPENRECORDSET(oCnFtr,oVar,adLockOptimistic,adOpenKeyset)hDatos ...
by leandro
Tue Jul 30, 2019 4:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Recordset to hash
Replies: 6
Views: 1171

Re: Recordset to hash

... la publicación que mencionas, hay varias funciones alli, pero creo que la que mas se adapta a lo que necesito es la función RsToHash( oAdoRs, [nRows], [nStart], [aFields] ) --> Matriz hash oVar:="SELECT * FROM clientes"oRsFtr := FW_OPENRECORDSET(oCnFtr,oVar,adLockOptimistic,adOpenKeyset)hDatos ...
by leandro
Mon Jul 29, 2019 10:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Recordset to hash
Replies: 6
Views: 1171

Re: Pasar query a un arreglo

... already made a query (we call it RowSet), then you can use method GetRows(), which is similar to FillArray() of Dolphin. aData := oRs:GetRows( [nRows], [nFromRow], [aFieldNames] ) Example: oRs := oCn:RowSet( "customer" )aDataFull := oRs:GetRows()aDataPart := oRs:GetRows( ...
by joseluisysturiz
Sun Jun 30, 2019 7:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pasar query a un arreglo
Replies: 24
Views: 3078

Re: Pasar query a un arreglo

... already made a query (we call it RowSet), then you can use method GetRows(), which is similar to FillArray() of Dolphin. aData := oRs:GetRows( [nRows], [nFromRow], [aFieldNames] ) Example: oRs := oCn:RowSet( "customer" )aDataFull := oRs:GetRows()aDataPart := oRs:GetRows( ...
by nageswaragunupudi
Sun Jun 30, 2019 5:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pasar query a un arreglo
Replies: 24
Views: 3078

Re: New FTDN November 2018 (FWH 18.11)

... (por defecto .F.) Si es .T., entonces devuelve "datetime" como "YYYY-MM-DDTHH:MM:SS" * adofuncs: - Función RsGetRows( oRs, [nRows], [nStart], [aFields] ) -> aRows Mejorada con tres parámetros opcionales nRows: Número de filas. Por defecto toadas las filas. nStart: 0 : ...
by Antonio Linares
Thu Dec 27, 2018 4:57 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN November 2018 (FWH 18.11)
Replies: 1
Views: 2157

New FTDN November 2018 (FWH 18.11)

... [lISO8601] ) Optional 2nd parameter lISO8601 (default .f.) If .t., returns datetime as YYYY-MM-DDTHH:MM:SS * adofuncs: - function RsGetRows( oRs, [nRows], [nStart], [aFields] ) -> aRows Enhanced with 3 additional optional paramters nRows: Number of rows. Default all rows rest. nStart: 0 : Default ...
by Antonio Linares
Sat Dec 01, 2018 10:46 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN November 2018 (FWH 18.11)
Replies: 1
Views: 2157
Next

Return to advanced search