dgillz~
Thanks for the quick reply. Here is some more info:
I am using CR 8.5 to report on a MS SQL 2000 database of Clarify data. Clarify's schema is non-traditional and highly normalized.
Using SQL Query Analyzer, I can display the fields I need like this:
select c.id_number, s.name, 1.close_date, l.x_hours, e.work_group
from table_site s, table_close_case l, table_case c, table_act_entry a, table_employee e
where l.close_case2act_entry = a.objid
and a.act_entry2case = c.objid
and c.case_reporter2site = s.objid
and closer2employee = e.objid
and l.close_date > '2003-02-26' and l.close_date < '2003-03-25'
and l.x_hours <> ''
and l.x_hours <> '0.00'
order by 1
If you are not familiar with Clarify, it names the primary key of every table "objid" for Object ID, an arbitrary row identifier. To show this structure in CR's Visual Linking Expert, I have (all equal join links) field close_case2act_entry in table_close_case linked to objid in table_act_entry, act_entry2case linked to objid in table_case, and case_reporter2site in table_case linked to objid of table_site. Then disconnected from those tables, I have closer2employee in the alias table_close_case_1 linked to objid of table_employee.
When I preview the report, the fields I need from the first group of tables display properly, but the field I need from table employee appears empty. Yet when I 'Browse Field Date...' that field in the design tab, I can see all the values.
I also notice that when I 'Show SQL Query' under menu Database, there is no mention of table_employee:
SELECT
table_site.name,
table_case.id_number,
table_close_case.close_date, table_close_case.x_hours
FROM
MPSDev.dbo.table_site table_site,
MPSDev.dbo.table_case table_case,
MPSDev.dbo.table_act_entry table_act_entry,
MPSDev.dbo.table_close_case table_close_case
WHERE
table_site.objid = table_case.case_reporter2site AND
table_case.objid = table_act_entry.act_entry2case AND
table_act_entry.objid = table_close_case.close_case2act_entry AND
table_close_case.close_date >= "Mar 10 2003 00:00:00AM" AND
table_close_case.close_date < "Mar 25 2003 00:00:00AM"
ORDER BY
table_site.name ASC
That is what made me think the linking is not working.
Sorry for the long post, but I wanted to be thorough. Appreciate your help.
~rkeyser