Search found 51 matches: adox

Return to advanced search

Re: DBF to Excel Sheet, without Excel, using ADO ?

hi, While creating Excel Table, ADOX can not create more than 7 fields at a stretch and the field MARRIED is the 8th field. where do you read it about 7st Element :?: as i can say your CODE is wrong. you need a "fresh" ADOC.Column ...
by Jimmy
Thu Aug 17, 2023 12:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to Excel Sheet, without Excel, using ADO ?
Replies: 50
Views: 2579

Re: DBF to Excel Sheet, without Excel, using ADO ?

about FW_ADOX_CreateExcelTable() : i wonder that FW_ADOX_CreateExcelTable() crash at FIELD "MARRIED" which is not 1st or Last FIELD in DBF Looks like you did not see my working code patiently and jumping at conclusions ...
by nageswaragunupudi
Wed Aug 16, 2023 8:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to Excel Sheet, without Excel, using ADO ?
Replies: 50
Views: 2579

Re: DBF to Excel Sheet, without Excel, using ADO ?

Whatever DefinedSize we specify while creating the table (via sql or adox), when the table is read using ADO, the field object is showing oField:DefinedSize as 255 only
by nageswaragunupudi
Wed Aug 16, 2023 11:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to Excel Sheet, without Excel, using ADO ?
Replies: 50
Views: 2579

Re: DBF to Excel Sheet, without Excel, using ADO ?

about FW_ADOX_CreateExcelTable() : i wonder that FW_ADOX_CreateExcelTable() crash at FIELD "MARRIED" which is not 1st or Last FIELD in DBF FIELD "MARRIED" is Type "L", adBoolean but FUNCTION DateCheck() ...
by Jimmy
Wed Aug 16, 2023 5:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to Excel Sheet, without Excel, using ADO ?
Replies: 50
Views: 2579

Re: DBF to Excel Sheet, without Excel, using ADO ?

This is an enhanced version. There is an option to use ADOX of SQL to create the table. Both options work alike. Also used datecheck necessary for MS products. #include "fivewin.ch"#include "adodef.ch"function Main()  ...
by nageswaragunupudi
Tue Aug 15, 2023 6:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to Excel Sheet, without Excel, using ADO ?
Replies: 50
Views: 2579

Re: DBF to Excel Sheet, without Excel, using ADO ?

Some points: 1. I prefer adopting the sql approach than using ADOX. 2. We need to be aware of the limitations of creating Excel sheets using ADO. a) Whatever length we specify, all character columns are VarChar(255) b) Whatever numeric datatype, like int, ...
by nageswaragunupudi
Mon Aug 14, 2023 10:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to Excel Sheet, without Excel, using ADO ?
Replies: 50
Views: 2579

Re: ADO / Excel / XBROWSE / FWAdoStruct() / Edit()

hi, i have found this You need ADOX to do it. This is how you would create the excel file Dim cat As ADOX.CatalogDim tbl As ADOX.TableDim col As ADOX.ColumnSet cat = New ADOX.Catalogcat.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" ...
by Jimmy
Mon Aug 14, 2023 4:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO / Excel / XBROWSE / FWAdoStruct() / Edit()
Replies: 8
Views: 261

Re: Ejemplo de Tdatarow para crear Base de datos y tablas

... create the same table in different RDBMs ( eg Access, MSSQL, MySql, Oracle ). Also FWH function works on those RDBMs which do not fully support ADOX. FWAdoCreateTable( cTable, aStruct, oCn ) // aStruct is identical to DBSTRUCT() Usage: FWAdoCreateTable( "sales", { { BILLNO, ...
by nageswaragunupudi
Sat Apr 01, 2017 1:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejemplo de Tdatarow para crear Base de datos y tablas
Replies: 19
Views: 3231

Problema al actualizar a Windows 10

... * Supports CMPXCHG16B instruction BMI1 - Supports bit manipulation extensions 1 BMI2 - Supports bit manipulation extensions 2 ADX - Supports ADCX/ADOX instructions DCA - Supports prefetch from memory-mapped device F16C - Supports half-precision instruction FXSR * Supports FXSAVE/FXSTOR instructions ...
by cnavarro
Thu Aug 20, 2015 8:49 pm
 
Forum: Off Topic / Otros temas
Topic: Problema al actualizar a Windows 10
Replies: 2
Views: 1078

Re: ADO RDD xHarbour

Enrico,

Forgot ADOX going into SELECT.
by AHF
Fri Mar 27, 2015 6:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446341

Re: ADO RDD xHarbour

Antonio,

AHF wrote:I know I shouldnt use ADOX!


Please note that ADOX is only supported by Microsoft databases.

EMG
by Enrico Maria Giordano
Fri Mar 27, 2015 5:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446341

Re: ADO RDD xHarbour

Antonio, Enrico, I know I shouldnt use ADOX! I agree is the best practice. Indexes are for the DB admin to deliver selects rapidly. But dont forget that what we pretend is to change as little code as possible in our app. I could use seek but ...
by AHF
Fri Mar 27, 2015 4:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446341

Re: ADO RDD xHarbour

Antonio,

AHF wrote:Do you code code use index present in the server DB with ADOX? Maybe Enrico has it.


No, I prefer to use WHERE and ORDER BY clauses.

EMG
by Enrico Maria Giordano
Fri Mar 27, 2015 4:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446341

Re: ADO RDD xHarbour

... DB indexes. Seek cannot be translated to :Find as :Find only works on a single column. Do you code code use index present in the server DB with ADOX? Maybe Enrico has it. Im only missing this to close the first part of adodrdd I hope to post during week end the adordd.
by AHF
Fri Mar 27, 2015 4:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446341
Next

Return to advanced search