Enterprise Status Table ================== enterprise_status_code enterprise_status_descr
Now on the main report I need to display the enterprise status description which is in the second table. At the moment to make the report work I had to add a new field with the following formula.
if {enterprise.enterprise_status_code} = "00" then "NO STATUS" else if {enterprise.enterprise_status_code} = "01" then "STATUS DESCR 1"else if {enterprise.enterprise_status_code} = "02" then "STATUS DESCR 2"else if {enterprise.enterprise_status_code} = "03" then "STATUS DESCR 3"
The above code works fine but now I need another field called country, and I can't write the same kind of formula because there are too many countries.
Country Table
==================
country_code
country_name
Joined: 08 Sep 2008
Location: United States
Online Status: Offline
Posts: 8
Posted: 08 Sep 2008 at 4:03am
Select Database Expert from the database menu. You should have both tables selection on the Data tab, and on the Links tab you click on the field from table a and drag the mouse to the field to link to on table b. A line should appear linking the tables by those fields.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum