Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Joins in Impromptu

Status
Not open for further replies.

vaisag

Programmer
Sep 1, 2003
7
IN
Hi,

I want to join a table having 2 foreign keys to same table. How can I join same table twice to the main table.

eg:
I have say one table name as :Maintable which contains fields
HSTNID
ASTNID
Revenue

I want to show station and not the id.So I want to join this table to Detail table which is STN.
Fields in STN tables ate Stnid and STNDESC
Now to show description I want to join Maintable to STN tables twice.
Please help me
 
Vaisaq
You will have to use Catalogs to create a new alias. This alias is just the same table, but referred by a differnt name. See the menu catalog, tables in Impromptu, then then joins.

To modify catalogs you need admistrator version of Impromptu.

Bruce
 
Vaisaq

Did you find your problem?

Bruce
 
I found the answer, Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top