Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two tables/ report (correction)
Message
De
04/01/2002 07:47:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00600527
Message ID:
00600684
Vues:
17
>Tables don't have the same struct
>
> But all them contains the fiels: Name, address, State...
>
> Is it possible select only those fields ?
>
> Moises

Yes, just select the individual fields instead of using "*".
select Name, address, state from Table1
  union select Name, Address, state from Table2;
  order by 1;
  into cursor TmpResultado
Note that ORDER BY can only be done by number.

Hilmar.
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