TIP: Click on subject to list as thread! ANSI
echo: clipper
to: ALL
from: ERIK WACHTMEESTER
date: 1997-05-27 18:05:00
subject: Possible problem with neterr() and Win9518:05:0005/27/97

Reply-To: erik.wachtmeester@bighole.iaf.nl
Hopefully any of you can help me?
We're running a Clipper 5.2e program, with the SIx driver RDD v2.01, and
compiled with Exospace.
The application is running in a NetWare 3.11 environment, with mostly DOS/Win
3.11 clients. 
No problem so far, but a few machines are running Win95 with Novell's 
Client32,
and I suspect that's part of the problem:
It happened a couple of times that the following code snippet (part of the 
'add
record' function that's heavily used throughout the program) didn't set 
lReturn
to .f. under Win95...
<---------
  lReturn := .f.
  do while (nWait > 0)
     // try to append
     append blank
    // check for a network error
     if !neterr()
        lReturn := .t.
        nWait := 0
     else
       // wait 0.5 seconds
       inkey( 0.5 )
       nWait -= 0.5
     endif
  enddo
--------->
... but afterwards it sometimes happens that even though the program thinks
that a new record is appended, that actually isn't the case, and consequently
existing records can be overwritten. 
Until now this happened only 3 times in about 6 months, but always from a W95
workstation, and I can't reproduce the problem. But if it happens in a 
'general
ledger' database (it did), I've got a problem sure enough...
Is this a known problem? And if yes, is there a cure?
Regards,
Erik 
---
---------------
* Origin: May it be on this earth? (2:283/7.2)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.