Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where Deleted()
Message
De
28/03/2003 12:34:44
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
 
 
À
28/03/2003 12:26:01
Humberto Ramirez
H. Ayuntamiento de Colima
Colima, Mexique
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:
00771395
Vues:
10
Hi Humberto,

Just to quote you :
the query with "Where !Deleted(table)" without join, don't work correctly

The query you posted clearly has a Deleted() condition. This is your problem! You shouldn't use Deleted() in a multi-table query.

Use Set Deleted On instead.

Regards,

Liam





>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.
Liam O'Hagan
MCP VFP Desktop Apps
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform