Hi All,
I have a problem and hope someone can help me out.
I am an user of Crystal Reports XI without any authorisation to amend databases or tables.
Example:
The report is set up as below:
Table 1: Table 2:
LocationMaster Location used : current Qty:
DC-003-001-00 DC-003-001-00 0
DC-003-002-00 DC-003-002-00 0
DC-003-003-00 DC-003-003-00 0
DC-003-004-00 DC-003-004-00 0
DC-003-005-00 =>problem!! not shown in report
As you can see,I dont have a record in Table 2 for DC-003-005-00,
When I create a boolean,i am not able to select on true or false,the report does not show this record. simply because it has been never used.
How can I look up every record from Table 1 in Table 2 and if there is no record in Table 2 it will be shown in the report?
I created following formula;
If (locationmaster=location used and qty=0) then 'EMPTY' else 'OCCUPIED'
The qty field is set numerical.so if there is no record there is no number.
And it seems that in Crystal you cant use " '' for null.
I tried Isnull,IsEmpty etc. but could just not found the solution.
For better understanding:
In Excel you have function Vlookup,and if you look up a value in another list and there is no record you get #N/A.
Just something like this i want in Crystal.
Currently i am using two Crystal reports to get my desired overview,but i am sure it is possible in one report.
greetings
Memoli