Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9069

Why doesn't crystal show any records?

$
0
0

Hello,

 

I would like to present to you a problem which has been annoying me for some time today.

I could hardly believe what I saw and I can't believe that I'm not doing something wrong.

This is it:

I created a very simple report based on one table only.

No record selection formulas, no filtering whatsoever.

I push the refresh button and lo: all the records present in the database are shown as I expected.

Next I construct a simple record selection formula:

 

{Vendor.VdrAdrId} in ['999999999'] (vendor is the table used, and vdradrid is a key for an address, a simple foreign key reference)

 

no records are shown now, as expected.

Then I modify the record selection formula thus:

 

{Vendor.VdrAdrId} in ['999999999'] or {Vendor.VdrContext} > 0

 

As all relevant records in my database have a VdrContext exceeding zero,

now I expect all records to be shown again.

But this is not the case. Not a single record is shown.

And when I reverse the filters thus:

 

{Vendor.VdrContext} > 0 or {Vendor.VdrAdrId} in ['999999999']

 

all records are shown again.

This is puzzling me. Does anyone know why this is happening?

 

Thanks for reading my question and I would be very glad if one of you came up with an answer.


Viewing all articles
Browse latest Browse all 9069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>