Search found 29 matches

by Eroni
Wed Jan 08, 2025 12:49 pm
Forum: FiveWin for Harbour/xHarbour
Topic: OpenAI vision API from FWH
Replies: 10
Views: 516

Re: OpenAI vision API from FWH

Antonio Linares wrote: Tue Jan 07, 2025 2:16 pm hbcurl.lib and libcurl.lib
Thanks!
by Eroni
Tue Jan 07, 2025 12:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: OpenAI vision API from FWH
Replies: 10
Views: 516

Re: OpenAI vision API from FWH

Hello all.

I am trying build exe from openai1.prg but experiencing I am linking errors: (unresolved external)

openai1.obj : error LNK2001: símbolo externo não resolvido _HB_FUN_CURL_EASY_INIT
openai1.obj : error LNK2001: símbolo externo não resolvido _HB_FUN_CURL_EASY_CLEANUP
openai1.obj : error ...
by Eroni
Thu Aug 08, 2024 12:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Announcing DrXlsx 1.0 by Charles Kwon
Replies: 34
Views: 11208

Re: Announcing DrXlsx 1.0 by Charles Kwon

Hi everybody.

I am having a problem using DrXlsx library, when the name of folder contains accent, file is not created, as folow sample:

cFileXls := "d:\backups\onedrive\Area de trabalho\test.xlsx" //name of folder contais accent in "A", but i could'nt post here because page crashes when click ...
by Eroni
Tue Jun 04, 2024 11:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Barcode value from PDF
Replies: 1
Views: 424

Re: Barcode value from PDF

Hello,
I use this solution:

https://barcode-reader.inliteresearch.c ... reader.php

On volum depends, is community for user free.

If you not get build a funcional sample, mail-me.

Regards.
by Eroni
Tue Jun 04, 2024 3:04 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Error with MariaDB and DataRow
Replies: 4
Views: 662

Re: Error with MariaDB and DataRow

Maurizio, I do not use tDataRow(), but it works for me:

Code: Select all | Expand

oRec := oRs:Record( .F. ) // or .T. to insert 
Wouldn't that be missing?

Regards.
by Eroni
Tue Jun 04, 2024 2:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: RowSet Large and lReadonly
Replies: 10
Views: 1048

Re: RowSet Large and lReadonly

Mr Rao, everything ok now, with these 3 classes I can solve everything I need.

Thank you for your attention.

Regards.
by Eroni
Mon Jun 03, 2024 8:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: RowSet Large and lReadonly
Replies: 10
Views: 1048

Re: RowSet Large and lReadonly

Thank you for your attention Mr Rao,

I just tested with harbour and really works fine.

But using xHarbour results an error:
http://flynfe.com.br/download/Sample.mp4
But ok, I will tray other way to handle my large databases.

Regards.
by Eroni
Sat Jun 01, 2024 12:55 pm
Forum: FiveWin for Harbour/xHarbour
Topic: RowSet Large and lReadonly
Replies: 10
Views: 1048

Re: RowSet Large and lReadonly

Thank you Mr. Rao.

I am using FWH 23.10:
Application
===========
Path and name: D:\Softway\ProjetosWanderson\EsocialSQL\sinwin.EXE (32 bits)
Size: ********* bytes
Compiler version: xHarbour 1.3.0 Intl. (SimpLex) (Build 20231104)
FiveWin version: FWH 23.10
C compiler version: Borland ...
by Eroni
Fri May 31, 2024 6:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: RowSet Large and lReadonly
Replies: 10
Views: 1048

Re: RowSet Large and lReadonly

Thank you Mr. Rao.

I tried built other sample:
function Test()
local oRs, cTable,oCn
local oWnd, oBrw, oFont

oCn := maria_Connect( "209.250.245.152,fwh,fwhuser,FiveTech@2022" )
if oCn <> NIL
? "Conected"
endif

oRs := oCn:RowSet( "select * from custx where state = ? ",{ 'NY' },500,.T ...
by Eroni
Fri May 31, 2024 2:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: RowSet Large and lReadonly
Replies: 10
Views: 1048

RowSet Large and lReadonly

Dear all,
Is possible rowset and lreadonly works the same time?
Like this:

Code: Select all | Expand

oRs := oCn:RowSet( <table>, nRows,.T. )
Regards.
by Eroni
Fri Mar 22, 2024 12:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 6709

Re: Question about performance RowSet

Thank you very much for pointing out this error.
This example works perfectly fine with Harbour but fails with xHarbour with this run-time error.
This bug is due to my ignoring the difference in the behavior between Harbour and xHarbour of a function PValue().
We regret the inconvenience.

You can ...
by Eroni
Thu Mar 21, 2024 2:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 6709

Re: Question about performance RowSet

nageswaragunupudi wrote:
Run time error:
Which version of FWH did you test with please?
Mr Rao,
Fivewin 23.10 xHarbour 123, BCC 77.
by Eroni
Wed Mar 20, 2024 7:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 6709

Re: Question about performance RowSet

Please try this for adding new record.
This is working for me and should work for you too.
First run this program as it is without changes before you adopt to your tables.

function MariaNewRecord()

local oCn := maria_Connect( "209.250.245.152,fwh,fwhuser,FiveTech@2022" )
local oData

oData ...
by Eroni
Wed Mar 20, 2024 7:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 6709

Re: Question about performance RowSet

Hello Mr. Rao.

I am try this:

aRow := oCn:QueryResult( "select field1,field2 from states where code='WA'" )
if aRow == NIL // not found, then inserts
aRow := { "aa","bb" }
oCn:Upsert( "states", nil, { aRow } )
endif

But insert not work.
Table `states` has 3 fields: id, code, name where id is ...
by Eroni
Wed Mar 20, 2024 1:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 6709

Re: Question about performance RowSet


I am thinking of adding method to get a single record from a table ( existing or new ) and then edit and save the data.
May be something like this:
oRecord := oCn:Record( cSql, [lBlank] ) // returns FW_Record / TDataRow object
oRecord:Edit()

This would be very good, I believe, for many ...