Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two tables/ report (correction)
Message
From
04/01/2002 07:47:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00600527
Message ID:
00600684
Views:
16
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform