Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nested Update Possible?
Message
 
To
06/05/1998 05:40:46
Steve Camsell
Windmill Associates
Bath, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00097257
Message ID:
00097539
Views:
20
Steve, your select returns a cursor/query, not a number. Is this your exact code?

Barbara

>Can anyone tell me if it is possible to do a nested UPDATE (SQL) in Fox 5? The syntax that I am using is as follows:
>
>UPDATE vueOrdLines ;
>SET iQty = ;
>	(SELECT MAX(iQty) from vueOrdLines)
>WHERE ...
>
>The error that I get is "function name is missing )". The help file just says column_name = expression1, it doesn't say what the expression can be, and the example is really simple. Is it possible to do this or am I just wasting my time?
>
>Thanks in advance for assistance.
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform