Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select a deleted flag
Message
De
03/04/2009 20:20:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
03/04/2009 20:03:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01393204
Message ID:
01393211
Vues:
43
This message has been marked as the solution to the initial question of the thread.
>Thanks Hilmar. I added a flag field to the original table and copied deleted() into it. That gave me what I needed.
>btw - set deleted off was in effect. :)

Sure, but I don't think you need a separate field - not in the original table. What I had in mind was simply to separate the query into more than one query, selecting only a single table in the first query. More or less like this:
select system, rtp_id, ... deleted() as del1;
  from rtp_projects;
  into cursor temp
select temp.*, r2.rtp_id, ...;
  from temp r1 join rtp_projects r2 on ...;
  into cursor temp2
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform