Page 1 of 3
ADORDD WITH ACCESS DATABASES...
Posted: Sat Mar 28, 2009 1:14 am
by Roberto Lopez
Hi All!,
I've been very busy, but I'm here again.
I'm preparing a new HMG release and reviewing bugs reported to SF bug tracker.
I've found one about Browse control in ADORDD-1 sample (.mdb file).
After a painful test I've discovered that the problem is not on Browse control, but in ADORDD (at least with .mdb files).
Try the following:
Code: Select all
USE bd1.mdb VIA "ADORDD" TABLE "table1" ALIAS bd1
go top
msginfo(str(recno()) , 'recno' )
go 1
msginfo(str(recno()) , 'recno' )
go 2
msginfo(str(recno()) , 'recno' )
The result will be always zero.
Since HMG's Browse rely on recno() function to work, it does not work
I've decided to remove the sample until new Harbour version be released (hopefully the problem will be solved).
If someone has additional info about this, please, let me know.
TIA.
Regards,
Roberto.
Re: ADORDD WITH ACCESS DATABASES...
Posted: Sat Mar 28, 2009 4:26 am
by Rathinagiri
Welcome Guru!
Gr8 news about the new version.
Re: ADORDD WITH ACCESS DATABASES...
Posted: Sat Mar 28, 2009 4:39 am
by Roberto Lopez
rathinagiri wrote:Welcome Guru!
Gr8 news about the new version.
Ok
The new release has (at least) one very cool thing
I must review all new code a couple of times prior to publish yet.
Regards,
Roberto.
Re: ADORDD WITH ACCESS DATABASES...
Posted: Sat Mar 28, 2009 10:52 am
by sudip
Hello Roberto,
Thanks for the good news! I am a learner of HMG! I am in a very basic stage!
I found some error regarding pie. When one or more data values become small with respect to other, Pie chart shows abnormal results. Esgici corrected this problem temporarily. But, IMHO DRAW GRAPH command has some bugs.
Again it will be very helpful if there is an option to show data values within the graph.
With best regards.
Sudip
Re: ADORDD WITH ACCESS DATABASES...
Posted: Sat Mar 28, 2009 12:57 pm
by Roberto Lopez
sudip wrote:Hello Roberto,
Thanks for the good news! I am a learner of HMG! I am in a very basic stage!
Welcome aboard!
sudip wrote:
I found some error regarding pie. When one or more data values become small with respect to other, Pie chart shows abnormal results. Esgici corrected this problem temporarily. But, IMHO DRAW GRAPH command has some bugs.
Again it will be very helpful if there is an option to show data values within the graph.
Graph lib was contributed by Grigory. Perhaps he has already solved the problems.
Grigory?
Regards,
Roberto.
Re: ADORDD WITH ACCESS DATABASES...
Posted: Sat Mar 28, 2009 2:15 pm
by Roberto Lopez
Roberto Lopez wrote:
Graph lib was contributed by Grigory. Perhaps he has already solved the problems.
Grigory?
Already solved.
The solution was to check 'cumulative' array in the main for...next.
If the previous value is equal to previous then perform no action (loop).
Regards,
Roberto.
Re: ADORDD WITH ACCESS DATABASES...
Posted: Sat Mar 28, 2009 2:42 pm
by gfilatov
Roberto Lopez wrote:Roberto Lopez wrote:
Graph lib was contributed by Grigory. Perhaps he has already solved the problems.
Grigory?
Already solved.
The solution was to check 'cumulative' array in the main for...next.
If the previous value is equal to previous then perform no action (loop).
Hi Roberto,
Thanks a lot for this fix.
BTW The author of Pie control is Mr. Rathinagiri AFAIK.
Re: ADORDD WITH ACCESS DATABASES...
Posted: Sat Mar 28, 2009 3:03 pm
by Rathinagiri
Yes. It was once upon a time.

Re: ADORDD WITH ACCESS DATABASES...
Posted: Sat Mar 28, 2009 3:57 pm
by Roberto Lopez
gfilatov wrote:Roberto Lopez wrote:Roberto Lopez wrote:
Graph lib was contributed by Grigory. Perhaps he has already solved the problems.
Grigory?
Already solved.
The solution was to check 'cumulative' array in the main for...next.
If the previous value is equal to previous then perform no action (loop).
Hi Roberto,
Thanks a lot for this fix.
BTW The author of Pie control is Mr. Rathinagiri AFAIK.
Thanks for the quick response.
And... I'm sorry... you are right, pie was a separated contribution by Rathinagiri.
Regards,
Roberto.
Re: ADORDD WITH ACCESS DATABASES...
Posted: Sat Mar 28, 2009 4:01 pm
by sudip
Hello Roberto,
Thank you very much. Problem has been solved. I checked it.
Hi Rathi,
Thanks for the excellent utility. My clients like the pie chart (even seeing the previous small error)
With best regards to you all.
Sudip