Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Probleme with REPLACE
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00226215
Message ID:
00226217
Views:
21
This is a known issue when the current selected table is at EOF. The best thing to do is to allways do a SELECT before the REPLACE or use the new IN clause: REPLACE FirldName WITH "TESTING" IN TableName

>We do have a "bizzzzare problem" with this command...
>
>ex: REPLACE tablename.fieldname WITH "TESTING"
>
> About 99.9% work pretty fine, but in some piece of code
> this command doesn't work. NO MESSAGE, NO ERROR, NOTHING and
> doesn't replace. (simple table, no buffering even with a CURSOR)
>
> if we do the same command (same place) like this
>
> znSELECT = SELECT()
> SELECT tablename
> REPLACE fieldname WITH "TESTING"
> SELECT (znSELECT)
>
> This porton work OK!
> Any clues ????
>
>
>Thank you all!
Previous
Reply
Map
View

Click here to load this message in the networking platform