Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where Deleted()
Message
De
28/03/2003 12:26:01
Humberto Ramirez
H. Ayuntamiento de Colima
Colima, Mexique
 
 
À
28/03/2003 12:12:12
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00771350
Message ID:
00771391
Vues:
15
Course Liam!

...
...
&& Delete the detail.
Delete From ordersdetail Where idorder == orders.idorder

&& Delete the header.
Delete In orders

&& Move to first order and reload the detail.
Go Top In orders
Select idproduct,name,unitcost,quantity,unitcost*quantity as total ;
From ordersdetail Left Outer Join products ;
On products.idproduct == ordersdetail.idproduct ;
Into Cursor curDetail Readwrite ;
Where ordersdetail.idorder==orders.idorder And !Deleted("ordersdetail")
...
...

The result is a "curDetail" empty cursor after de query.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform