Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nested Update Possible?
Message
 
À
06/05/1998 05:40:46
Steve Camsell
Windmill Associates
Bath, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00097257
Message ID:
00097539
Vues:
21
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform