Crystal Reports not recognising query

Crystal Reports not recognising query

Post by Jonathan P Higgi » Sat, 26 Sep 1998 04:00:00



Hi,

I'm having a problem with Crystal Reports.  It doesn't seem to be able to see
a regular select in my Access 97 database.  I'm not sure what the problem is.
The query is simply an inner join on two tables with some sorting.  

This is the query:

SELECT Referrals.OriginalIL, Transactions.oclc_code, referrals.il_number AS
[Outgoing Number], Referrals.DateCreated, Referrals.LenderString,
transactions.status
FROM Referrals INNER JOIN Transactions ON Referrals.OriginalIL =
Transactions.Il_number
WHERE (((Referrals.DateCreated)<DateAdd("d",-24,Now())) AND
((IsNull([datereported]))<>False))
ORDER BY Transactions.oclc_code, Transactions.Il_number;

Is there anything in the syntax of the query that would throw off Crystal
Reports?

Thanks

 
 
 

Crystal Reports not recognising query

Post by Tadeusz Schuste » Wed, 30 Sep 1998 04:00:00


try compose your query using access97, then choose sqlview
your sql statement will be ok (hope)
copy statement and paste into your crystal project

best
Tadeusz Schuster, Krakow, Poland
--

Jonathan P Higgins napisa3(a) w wiadomo?ci:

Quote:>Hi,

>I'm having a problem with Crystal Reports.  It doesn't seem to be able to
see
>a regular select in my Access 97 database.  I'm not sure what the problem
is.
>The query is simply an inner join on two tables with some sorting.

>This is the query:

>SELECT Referrals.OriginalIL, Transactions.oclc_code, referrals.il_number AS
>[Outgoing Number], Referrals.DateCreated, Referrals.LenderString,
>transactions.status
>FROM Referrals INNER JOIN Transactions ON Referrals.OriginalIL =
>Transactions.Il_number
>WHERE (((Referrals.DateCreated)<DateAdd("d",-24,Now())) AND
>((IsNull([datereported]))<>False))
>ORDER BY Transactions.oclc_code, Transactions.Il_number;

>Is there anything in the syntax of the query that would throw off Crystal
>Reports?

>Thanks


 
 
 

1. Crystal Reports Professional 7- Memo fields will not appear on report

Hi all,

I hope someone out there has the answer to this one, I've exhausted
all possibilities, checked newsgroups, and Seagate's web site, and
have not been able to find a working solution. My apologies if this appears
as a duplicate post,  my newsgroups software is behaving very strangely.

I'm using Crystal Reports Professional, Version 7. I'm attempting to
create a group of reports usable by my VB6 application, which
currently stores it's data in an Access 97 database. The application
creates a set of legal forms based on the data in the database, so
using memo fields is the only possible way to store the necessary
data.

I'm using the Active Data Driver, and have created a data definition
file (.ttx file) which matches the table definition used in the
database for this report. In the VB application, I'm using ADO to
retrieve the data into a recordset, then passing the recordset to the
Crystal report engine object. Everything works fine except for the
memo fields, which appear blank on the printed (and previewed) form.
Based on information obtained from this (and other) newsgroups, I've
tried the following:

1). Verified that there were no nulls in any field of the database
record being printed.

2.) Checked Seagate's knowledge base on this subject. It suggested
making sure that the data definition table, and the matching database
table were both set up for the "Memo" field type: they are.

3.) I've set the report options, unchecking "Translate DOS Strings"
and "Translate DOS memos". I've also selected the "Can Grow" option of
the problem field, using both "0" for unlimited lines, then 20, just
to be sure that that setting made no difference. These settings did
not alleviate the problem.

4.) The memo field in question is created by a function in my VB
application, and I performed an update to the database table with this
function to verify that the data was being created. It does indeed
exist in the database after the routine has been run.

5.) I've tested the report using a very short data string within the
memo field(less than 80 characters), and the field remains blank.

If anyone has any ideas, I would greatly appreciate them. Desperation
is setting in and I'm considering going to night school to become a
fast food worker. Thanks in advance.

Bob Breece

2. ODBC on NT4

3. Oracle 8.05 on Solaris 2.6 Install not recognising whole drive

4. InstallShield Express, Novell network

5. CRYSTAL REPORT, run time query report by date

6. OCIStmtExecute hangs when connection is lost

7. ap native not recognising memory

8. Time entry/validation

9. Crystal Reports bug - report off new query

10. Editing Crystal reports without Crystal Reports

11. Crystal Report 6 and Crystal Report 8

12. Announcement: Easily integrate Crystal Reports with Remedy with UFLTimeZone for Crystal Reports

13. Crystal Reports/SQL 2000 - Reporting from a Stored Procedure with multiple selects (for a sub-report)