Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacing Fields in a Table
Message
From
11/05/2007 15:33:10
 
 
To
11/05/2007 15:30:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01224797
Message ID:
01224799
Views:
11
This message has been marked as a message which has helped to the initial question of the thread.
>I would expect the command
>
>REPLACE myTable.value1 with nTestVal
>
>to execute without a problem, assuming
>
>myTable is open and active,
>and the source and destintation are of comparable types.
>
>Yet I see cases from time to time where it doesn't work when the source is numeric and the destination is currency. No error message - just no data move. I've solved the issue with ugly work-arounds moving the data to differnety types, which surely is not necessary.
>
>Are there other gottchas (pitfalls) that may be causing the replace to not function.
>
>Thanks,
>
>Dennis
Replace value1 with nTestVal in mytable
is a bit better syntax
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform