Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP new bug: UPDATE with SET RELATION fails
Message
 
 
To
02/12/2001 12:27:49
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00588420
Message ID:
00588516
Views:
30
< snip >>>
>>Does'nt this smell like another bug ?
>
>Yes and no. There's a general rule in SQL Select (and it obviously applies to SQL Update) that it uses the tables AGAIN internally, so any function which uses aliases will produce a result based on the alias outside the SQL statement, and not the one used inside. So, it will behave as a constant, because while the statement is executing, nothing is happening in that alias - record pointer doesn't move.

Hi Dragan,

As I pointed out in the Message #588459 the SQL Update works on already open tables.

< snip >
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform