|
Herbert
1. I THINK what you're describing is a
situation where you are printing data from ONE table, but need a condition for
printing rows based on data in a second table. is that right? Can you tell
us what table the report is based on? I assume since you are trying
lookups into the TENANT table that the report is NOT based on it.
If it IS based on TENANT, then the correct approach
to print a report only for those records where the site is VACANT would
be:
PRINT reportname WHERE VACANT = 'YES'
To print for those records which are NOT
vacant:
PRINT reportname WHERE VACANT <> 'YES' OR
VACANT IS NULL
IS NULL means it's blank, which is not the same
thing as no equal to YES!
If the report is NOT based on TENANT, then I need
to see the structure of the two tables to help you. At the R> prompt,
type LIST TENANT to show the structure of the TENANT table and include that in
your email, and LIST tablename where tablename is the table the report is based
on, and send that as well!
If I've misunderstood you, and you want to print
ALL the records, but have the word "VACANT" appear next to those that are
vacant, let me know and I'll tell you how!
2. I'm unclear on the second one. Do you want
R:Base to calculate for you the number of days between start and end dates and
show that in a report? Can you be more specific?
David Blocker
|
Title: Syntax
- Syntax Herbert Hemberger
- Re: Syntax Ben Petersen
- Syntax david blocker
- Syntax Herbert Hemberger
- Re: Syntax david blocker
