Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace - command - Is somthing wrong ?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Replace - command - Is somthing wrong ?
Miscellaneous
Thread ID:
00779543
Message ID:
00779543
Views:
46
I have been using some code for a number of years and just reciently it appears to no longer work as before

The line of code was

OK City and Suburb are fields and the table in a scan - enscan

The offending code is:

Replace city with "" for suburb = city

What is now happening is it changes the first record the drops down to the last record ( eof())

Ok I can stop this by either

Replace city With "" while suburb = city

or

Replace next1 city with "" for suburb = city

but as the default is next1 record it should not drop to eof()

The only change to anything is a upgrade processor to AMD 1.8 I wonder if its somthing in the background.

I have used this command on the command line and it does the same thing so I dont think is in the code as such.

Any thoughts
Next
Reply
Map
View

Click here to load this message in the networking platform