Search found 997 matches

by Horizon
Fri Jun 19, 2020 9:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Strange MariaDB save problem.
Replies: 17
Views: 2483

Re: Strange MariaDB save problem.

vilian wrote:Please, do one test else.
Open task manager and run your program. Pay attention to the column of memory used. Let us know if it's increasing.
Yes, You are right. It is increasing.
by Horizon
Fri Jun 19, 2020 8:18 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Strange MariaDB save problem.
Replies: 17
Views: 2483

Re: Strange MariaDB save problem.

vilian wrote:Look at the directory if you have a hb_out.log there post its content here please.
Unfortunately, there is no such file.
by Horizon
Fri Jun 19, 2020 7:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Strange MariaDB save problem.
Replies: 17
Views: 2483

Re: Strange MariaDB save problem.

Instead of read the file with Memoread, please try to read with the function bellow: #INCLUDE "FileIO.ch" FUNCTION ReadFile(cFile) LOCAL nArq,nLen,cTxt       nArq := Fopen(cFile)       nLen := FSeek( nArq, 0, FS_END )       FSeek( nArq, 0, FS_SET )       cTxt:=Space(nLen)       FRead( nAr...
by Horizon
Fri Jun 19, 2020 6:27 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Strange MariaDB save problem.
Replies: 17
Views: 2483

Re: Strange MariaDB save problem.

Please use LONGBLOB field type. Hi Mr. Rao, As you and Villian suggested I have changed it to "LONGBLOB" and tried again. The same error occurs. I suspect my pdf file in my queue list. I have started again from next pdf file in list. it was ok for about 1500 mb. again and application abor...
by Horizon
Thu Jun 18, 2020 8:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Strange MariaDB save problem.
Replies: 17
Views: 2483

Strange MariaDB save problem.

Hi, I have lots of pdf file and I want to save them to related records in LONGTEXT field. It saves for a while and surprisingly after storing about 1580 mb, the application of oRs2:Save() function ends without any error. The hb_error file does not generated either. How can I solve this problem? oRs2...
by Horizon
Tue Jun 09, 2020 5:49 pm
Forum: FiveWin for Harbour/xHarbour
Topic: about Insert method in MariaDB
Replies: 3
Views: 461

Re: about Insert method in MariaDB

Thank you very much Mr. Rao.

It is enough for me.
by Horizon
Tue Jun 09, 2020 9:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB with latin5_turkish_ci collation
Replies: 35
Views: 3627

Re: MariaDB with latin5_turkish_ci collation

Hi Mr. Rao, I try to use "latin1_swedish_ci" and it seems there is not any problem with turkish characters. There may be a converting charset problem in Importfromdbf method. For example, I try to use "utf8_turkish_ci" and there is "?" problem in my application both fw_...
by Horizon
Sun Jun 07, 2020 4:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic: BASE/39 Write not allowed in MariaDB
Replies: 18
Views: 1738

Re: BASE/39 Write not allowed in MariaDB

nageswaragunupudi wrote:Syntax for SetDefault in TDataRow class

Code: Select all

SetDefault( ncField, uDefault, lCanModify )
If the 3rd parameter is true, then user can modify.
It is false then user can not modify.
So you say the opposite is working with rowset.
by Horizon
Sat Jun 06, 2020 6:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 8.12 Font.prg _DEFAULT_CHARSET_
Replies: 5
Views: 872

Re: FWH 8.12 Font.prg _DEFAULT_CHARSET_

Hi Antonio,

Can we do it by using

font.prg

Code: Select all

CLASSDATA nCharSet.
Our application.

Code: Select all

TFont():nCharSet := 1
by Horizon
Wed Jun 03, 2020 5:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: BASE/39 Write not allowed in MariaDB
Replies: 18
Views: 1738

Re: BASE/39 Write not allowed in MariaDB

Hi Mr. Rao,

I am stuck in here.
by Horizon
Wed Jun 03, 2020 10:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB with latin5_turkish_ci collation
Replies: 35
Views: 3627

Re: MariaDB with latin5_turkish_ci collation

Hi Mr. Rao, Your revised code : #include "fivewin.ch" REQUEST DBFCDX REQUEST HB_CODEPAGE_TRWIN static oCn function Main()     local cDbf     := "turkish\smssblon.dbf"     local cTable   := cFileNoExt( cDbf )     local cObj_Charset := "latin5_turkish_ci"     FW_SetUnicod...