Search found 20 matches

by vinhesoft
Wed Apr 18, 2018 11:28 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 18.02 MinGW 7.2.0
Replies: 4
Views: 867

Re: FWH 18.02 MinGW 7.2.0

Mr.Rao With lib libmysql32.lib worked !! Thank you ┌────────────────────────────────────────────────────────────────────────────┐ ?FiveWin for Harbour 18.02 and GCC - Feb. 2018   Harbour development power  │▄ ?(c) FiveTech 1993-2018 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█ └───────────...
by vinhesoft
Wed Apr 18, 2018 11:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 18.02 MinGW 7.2.0
Replies: 4
Views: 867

Re: FWH 18.02 MinGW 7.2.0

Mr.Rao use the lib libySQL.Lib that is in the lib folder of version FWH 18.02 Look: ┌────────────────────────────────────────────────────────────────────────────┐ ?FiveWin for Harbour 18.02 and GCC - Feb. 2018   Harbour development power  │▄ ?(c) FiveTech 1993-2018 for Microsoft Windows 9X/NT/200X/M...
by vinhesoft
Mon Apr 16, 2018 7:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 18.02 MinGW 7.2.0
Replies: 4
Views: 867

FWH 18.02 MinGW 7.2.0

Mr.Rao, error compiling with FWH 18.02 and MinGW 7.2.0 libraries: FiveHG.lib and FiveHGC.lib do not contain the class FWMariaDB eg: c:\devfw\fwh_1802\samples\buildg maria01 ┌────────────────────────────────────────────────────────────────────────────┐ ?FiveWin for Harbour 18.02 and GCC - Feb. 2018  ...
by vinhesoft
Fri Mar 16, 2018 6:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWMARIADB: RowSet class error when inserting a new record
Replies: 6
Views: 1256

Re: FWMARIADB: RowSet class error when inserting a new record

the error happens only if there is a Requery before insertion:

Look

oGrupos := oDB:Query( 'select * from ADMD0013 where CODGRU = ?',{0} )
...
oGrupos:ReQuery({27})
...
oGrupos: Append ()
oGrupos: NOMGRU: = cNOMGRU
oGrupos: ALTERA: = date ()
oGrupos: save () << error happens here
...
by vinhesoft
Fri Mar 16, 2018 4:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWMARIADB: RowSet class error when inserting a new record
Replies: 6
Views: 1256

FWMARIADB: RowSet class error when inserting a new record

Mr.Rao, error when inserting a new record, when primary key is numeric table structure: CREATE TABLE `admd0013` ( `CODGRU` INT (3) NOT NULL AUTO_INCREMENT, `NOMGRU` VARCHAR (30) NULL DEFAULT NULL, `ALTERA` DATE NULL DEFAULT NULL, PRIMARY KEY (`CODGRU`) ) oGrupos := oDB:Query( 'select * from ADMD0013...
by vinhesoft
Tue Jan 16, 2018 9:52 am
Forum: FiveWin para Harbour/xHarbour
Topic: mysql, consulta y funciones con FwhMariaDb
Replies: 5
Views: 1019

Re: mysql, consulta y funciones con FwhMariaDb

habilitar el archivo de Log de FwhMariaDB:

oCn: lLog: = .t.
oCn: lLogErr: = .t.
oCn: cLogFile: = 'sql.log'

y vea los comandos y errores de sql generados
by vinhesoft
Fri Oct 27, 2017 9:25 am
Forum: FiveWin para Harbour/xHarbour
Topic: Preview con la clase Tprinter habilitando boton Excel
Replies: 5
Views: 1405

Re: Preview con la clase Tprinter habilitando boton Excel

Este recurso existe desde la versión 16.11

mira:

* New DATA bToExcel OF TPrinter object.
If specified this codeblock is used by the Preview class
for exporting to Excel

fwh\samples\prn2excel.prg
by vinhesoft
Mon Apr 24, 2017 8:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 48
Views: 16225

Re: FWH: MySql/MariaDB: RowSet object

Mr.Rao oRs:SetOrder( "age" ) // or oRs:Sort := "age" // ? oRs:Sort // to know the present sort order Is it possible to sort by more than one column? example : oRs:SetOrder( "age,date,id,..." ) // or oRs:Sort := "age,date,id,..." // ? oRs:Sort // to know the pr...
by vinhesoft
Wed Apr 19, 2017 8:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWHMARIADB Samples
Replies: 47
Views: 18344

Re: FWHMARIADB Samples

Mr.Rao

Could you post an example of using MYSQL EMBEDDED SERVER ??

Att

João Carlos
VinheSoft
by vinhesoft
Wed Jan 04, 2017 10:11 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )
Replies: 66
Views: 21374

Re: FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )

Mr Rao The method: len is not returning the correct field size see below { {'CODGRU', 'N', 3,0}, {'NOMGRU', 'C', 30,0}, {'VALUE', 'N', 12,2} } oRs: = oCn: Query ('select * from grupo') oRs: Fields (1): len -> field size 'CODGRU' returns 3 -> Ok oRs: Fields (2): len -> field size 'NOMGRU' returns 30 ...
by vinhesoft
Sat Dec 10, 2016 9:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )
Replies: 66
Views: 21374

Re: FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )

Thanks,

Mr.Rao and Cnavarro

Att

Joao Carlos
VinheSoft
by vinhesoft
Fri Dec 09, 2016 8:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )
Replies: 66
Views: 21374

Re: FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )

Mr.Rao

What is the method for deleting a database?

OCn: DeleteDB (cDB)
OCn: DropDB (cDB)
OCn: Delete (cDB)
OCn: Drop (cDB)

I just managed this way:

OCn: QueryResult ('drop databases' + cDB)

Is there any method for this?

Att

João Carlos
VinheSoft