Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is CURVAL() and OLDVAL() causing anyone c00005 errors.
Message
From
27/09/1999 10:33:52
 
 
To
27/09/1999 10:22:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00269304
Message ID:
00269324
Views:
24
HI Nancy Thanx a lot for the fast response...
Yes I use SP3...
I do know it happens in this function....
But it is very sporadic. So standing and debugging this function everytime
does no good. I did do this some...this is why I feel the problem is on
the CURVAL() and OLDVAL() functions....
(When debug info is in it shows the line number as the following
line...
aNewLData[i] = CURVAL(aFlds[i,1])


This is the context....
**Fill an array up with the tables current values....

nLen = AFIELDS(aFlds)

DIMENSION aNewLData[nLen]

cOldDelete = SET("DELETED")

SET DELETED OFF

GO nRecord

FOR i = 1 TO nLen

IF aFlds[i,2] <> "G"
IF glTblBuffering
aNewLData[i] = CURVAL(aFlds[i,1])
ELSE
aNewLData[i] = &aFlds[i,1]
ENDIF
ELSE
aNewLData[i] = ""
ENDIF

NEXT


It happens a lot more during hi user activity.
It cannot be reproduced with any consistancy.

I have since rewote the function...NOt using CURVAL
but the results are not in yet...

Thanx !!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform