Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where Deleted()
Message
From
28/03/2003 12:34:44
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
 
 
To
28/03/2003 12:26:01
Humberto Ramirez
H. Ayuntamiento de Colima
Colima, Mexico
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00771350
Message ID:
00771395
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform