Random Error with TWBrowse

Post Reply
xhbcoder
Posts: 100
Joined: Wed Oct 04, 2006 4:50 pm
Location: USA

Random Error with TWBrowse

Post by xhbcoder »

Hi FW Team,

We are contineously experiencing a random error in our Harbour + Fivewin application. This is a Clipper application converted to Harbour recently.

The error is happenning in the client computer accessed via Microsoft Remote DeskTop. We can not also find a way to reproduce the issue. The error will simply poped up while we normaly browse a database.

Please advice. Thank you.

Unrecoverable error encountered. Can't continue.
20110220
23:22:25
(b)TRY@16
TWBROWSE:LBUTTONUP@1261
TCONTROL:HANDLEEVENT@1489
TWBROWSE:HANDLEEVENT@1656
Alias TAXTABLE
PC/Register+(tm) 5.3-20110218 SN0000000001
Error BASE/1340 Zero divisor: /

This also happened while accessing other databases.

Environment:
Windows XP
FW version 10.9
Harbour version included in the package.


Thank you,

Jose
xhbcoder
Posts: 100
Joined: Wed Oct 04, 2006 4:50 pm
Location: USA

Re: Random Error with TWBrowse

Post by xhbcoder »

Hi Antonio,

I just sent in your private email a picture of the error as it occurs today.

Please advice.

Thank you,

Jose
User avatar
Armando
Posts: 2479
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México
Contact:

Re: Random Error with TWBrowse

Post by Armando »

José:

Looking the error message, I think your problem is on a division operation, please review your
divisor, it can't be zero.

nImport := 389.00
nDivisor := 0
nResult := nImport / nDivisor // There is an error

Try this way

IF nDivisor <> 0
nResult := nImport / nDivisor
ELSE
nResult := 0
ENDIF

Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
xhbcoder
Posts: 100
Joined: Wed Oct 04, 2006 4:50 pm
Location: USA

Re: Random Error with TWBrowse

Post by xhbcoder »

Hi Armando,

Thank you for the reply. Your sugestion may work but I did not created this object.

I think this object is part of the Fivewin library and I have no idea how make modifications in the library.

I hope Fivewin Team could advice how to work around this problem.

Gracias,

Jose
Post Reply