Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this a bug
Message
 
To
31/03/2000 08:54:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00353261
Message ID:
00353267
Views:
12
>I ran the following command on a table called PROPERTY:
>
>replace pr_addr1 with "" for pr_code = ""
>
>and it replaced every single record's pr_addr1 with a blank and there were no pr_codes = to "".

That's a risky way to do it - you can fiddle with SET EXACT and SET ANSI to see if that solves it. But it's easier just to use a function like EMPTY:

replace pr_addr1 with "" for EMPTY(pr_code) IN tablename
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform