Code is so simple that it just can't be the code.
Create a routine to test.
nTotal := 0
DO WHILE ! Eof()
nValue := pbclient->units * pbclient->price
IF value > 5000 .OR. value < 5000
? RecNo(), value
ENDIF
nTotal += nValue
SKIP
ENDDO
? nTotal
José M. C. Quintas
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/4d3e0eab-5572-43ce-8bd4-5f1e60a5ab13n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Harbour Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/harbour-users/y5fxXcTwMeI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/44800ef0-36d6-49dd-b6cd-85297d795327%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CAErz8bUfuWutRgVa%3Du0evGUZAZ4r-J%2BsdjWZ52awVH%2BLsyMdSg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/7839418a-3c3d-4a57-8f72-3ccd97bf546an%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CAPFyMQO9voN5dSRsc16_aMpZJQZ5BdM08qQqGmwDGKUUzXXbrA%40mail.gmail.com.