Search found 114 matches

by MarcoBoschi
Tue Jan 07, 2025 9:33 am
Forum: FiveWin for Harbour/xHarbour
Topic: to Excel : using Array and "paste" it
Replies: 6
Views: 477

Re: to Excel : using Array and "paste" it

Many Thanks Nage
Happy New Year

Marco
by MarcoBoschi
Fri Jan 03, 2025 5:47 pm
Forum: FiveWin for Harbour/xHarbour
Topic: to Excel : using Array and "paste" it
Replies: 6
Views: 477

Re: to Excel : using Array and "paste" it

Dear Nage

Code: Select all | Expand

oSheet:Range( "A1:C1" ):Value := { 1, 2, 3 } //WORKS.
oSheet:Range( "A1:C2" ):Value := { {1,2,3},{4,5,6} } // FAILS, though works with VB <<<<<<<<<<<<<<< this problem 
 
this problem has been resolved?

Many thanks

Marco
by MarcoBoschi
Mon Dec 30, 2024 6:46 am
Forum: FiveWin for Harbour/xHarbour
Topic: To all the FW family
Replies: 10
Views: 575

Re: To all the FW family

..and Happy New Year! :lol:
by MarcoBoschi
Fri Nov 29, 2024 9:16 am
Forum: FiveWin for Harbour/xHarbour
Topic: slowness
Replies: 76
Views: 11691

Re: slowness

Dear Ramesh,
in my old post slowness You write this
A small suggestion to you to try.
can I send you a private mail containing a very little source code?and a question?


Have a nice day

Marco
by MarcoBoschi
Fri Nov 08, 2024 10:40 am
Forum: FiveWin for Harbour/xHarbour
Topic: cloud or not cloud
Replies: 34
Views: 5588

Re: cloud or not cloud

These are decisions of your customer I think.
The question is: your application will remain as fast as it currently is?
Do they have good connectivity?

Think about it carefully

Have a nice day
marco
by MarcoBoschi
Wed Nov 06, 2024 1:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Filter and Tdatabase
Replies: 3
Views: 380

Re: Problem with Filter and Tdatabase

Silvio,
have you some records in which the year of field named "data" is 2024
In the screenshot I see 1971

Bye
by MarcoBoschi
Thu Oct 31, 2024 2:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: delete a file
Replies: 6
Views: 516

Re: delete a file

Silvio,
what return code do you have?
by MarcoBoschi
Thu Oct 10, 2024 11:45 am
Forum: FiveWin for Harbour/xHarbour
Topic: DBF How to obtain an array containing record number
Replies: 16
Views: 1293

Re: DBF How to obtain an array containing record number

Some benchmarks using a table opened by other user containing 6000 records indexed in a lan
0.06 seconds using Enrico's technique and 11.57 seconds using a normal DO WHILE !EOF() ; SKIP ; ENDDO cicle

If table is opened only by this test program the speed is the same 0.06 seconds

Thanks Again
marco
by MarcoBoschi
Thu Oct 10, 2024 8:36 am
Forum: FiveWin for Harbour/xHarbour
Topic: DBF How to obtain an array containing record number
Replies: 16
Views: 1293

Re: DBF How to obtain an array containing record number

nageswaragunupudi wrote:This is exactly what I am looking for.
Can we open cdx file alone (raw file) and retrieve a list of record numbers of a specified Tag.
One should know the structure of CDX file very well.

Only great Experts like Mr. Enrico can help us.
And surely that will be a great help to all of us.
8)
by MarcoBoschi
Thu Oct 10, 2024 8:07 am
Forum: FiveWin for Harbour/xHarbour
Topic: DBF How to obtain an array containing record number
Replies: 16
Views: 1293

Re: DBF How to obtain an array containing record number

Thanks friends
You are all very good. Excellent programmers.
Let's see if I can explain myself
Let's just focus on the customer.cdx file
Let's forget about customer.dbf for a moment

I imagine that for the FIELD -> last key there is written somewhere the number of a record or more records that ...
by MarcoBoschi
Wed Oct 09, 2024 3:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DBF How to obtain an array containing record number
Replies: 16
Views: 1293

Re: DBF How to obtain an array containing record number

Very interesting Enrico!

Karinha I want an array containing all record numbers because the real speed of a cycle that
FOR i := 1 TO LEN( aRec )
GOTO aRec[ i , 1 ]
NEXT i

and not by this one that is very slow if cdx is opened by other person

DO WHILE !EOF()
SKIP
ENDDO

But I would hope that ...
by MarcoBoschi
Wed Oct 09, 2024 1:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DBF How to obtain an array containing record number
Replies: 16
Views: 1293

DBF How to obtain an array containing record number

Hi to all,
I'm wondering which is the best/fastest way to load an array containing all records numbers in a dbf table indexed by a particular order
Obviously not this one ot this one because as written in my previous post it is very slow if opened by other users.
I don't know how cdx are ...
by MarcoBoschi
Wed Sep 25, 2024 8:42 am
Forum: FiveWin for Harbour/xHarbour
Topic: slowness
Replies: 76
Views: 11691

Re: slowness

Michel,

Did you try my sample? It demostrates that there is a problem that is not related with the specific PC or network.

The question of Enrico is This is the question of my post .

Please Michel Try this
#include "Dbinfo.ch"


REQUEST DBFCDX
REQUEST DBFFPT


FUNCTION MAIN()

LOCAL nSec ...