Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, November 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Reporting & Notification Forums - Reporting
Forum to discuss reports for SalesLogix including Crystal, SQL Reports, etc. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Reporting | New ThreadView:  Search:  
 Author  Thread: Just migrated to 7.01, Updated reports to X1 Release 2. When running report based off groups SLX says "Invalid Crystal Query String" and display all records...
RJ Palombo
Posts: 43
 
Just migrated to 7.01, Updated reports to X1 Release 2. When running report based off groups SLX says "Invalid Crystal Query String" and display all records...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 May 07 11:06 AM
fiogf49gjkf0d
Hi All,

We Just migrated to 7.01, Updated reports to X1 Release 2. When we run a report based off a custom group or even just the "All Contacts" group, the SalesLogix Report Manager says: "Invalid Crystal Query String" and then displays all records instead of the date range I need based on the group... Like I mentioned before, even "All Contacts" that SLX came with displays the same message when using that group. Using [All Records] and [Current Record] work fine on all reports, but [current group] does not work correctly. I have even tried the Edit button when using [All Records] and Matching By the group I select with this message on any group select: 'This Filter Contains a group that you do not have access to'. I'm logged in as the Admin so I'm a little confused as to why I wouldn't have access to a group I created. I've even tried to re-create the group and report and also release both to everyone just as a test.

Any clue as to why this is happening?

Thanks in advance, -RJ
[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: Just migrated to 7.01, Updated reports to X1 Release 2. When running report based off groups SLX says "Invalid Crystal Query String" and display all records...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 May 07 7:41 AM
fiogf49gjkf0d
A couple questions

Did you update the report to Crystal Reports XI (CRXI)?

Does the report run fine when in CRXI?

Are there parameters built-in to the report? What are the report data types?

Are you using a stored procedure to get the data for the report? If so, are there parameters in the stored procedure?

Is the version of Crystal Reports XI you are using the version given on the DVD from SalesLogix?

John G.
[Reply][Quote]
RJ Palombo
Posts: 43
 
Re: Just migrated to 7.01, Updated reports to X1 Release 2. When running report based off groups SLX says "Invalid Crystal Query String" and display all records...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 May 07 9:15 AM
fiogf49gjkf0d
Did you update the report to Crystal Reports XI (CRXI)?
Yes

Does the report run fine when in CRXI?
Yes

Are there parameters built-in to the report? What are the report data types?
No

Are you using a stored procedure to get the data for the report? If so, are there parameters in the stored procedure?
No

Is the version of Crystal Reports XI you are using the version given on the DVD from SalesLogix?
Yes
[Reply][Quote]
RJ Palombo
Posts: 43
 
Re: Just migrated to 7.01, Updated reports to X1 Release 2. When running report based off groups SLX says "Invalid Crystal Query String" and display all records...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 May 07 9:23 AM
fiogf49gjkf0d
Hi John did you get my reply on this? I've contacted Sage, but their support is a little slow
Any help would be appreciated and thanks in advance.

-RJ
[Reply][Quote]
Carla Tillman
Posts: 290
 
Re: Just migrated to 7.01, Updated reports to X1 Release 2. When running report based off groups SLX says "Invalid Crystal Query String" and display all records...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 May 07 9:23 AM
fiogf49gjkf0d
Rob,

When you upgraded, did you create a hard copy and reload it into SLX or just update and save? Many of my custom reports required I make a hard copy, delete the current entry and re-add the report to SLX.

c
[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: Just migrated to 7.01, Updated reports to X1 Release 2. When running report based off groups SLX says "Invalid Crystal Query String" and display all records...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 May 07 8:17 AM
fiogf49gjkf0d
Many of my custom reports required I make a hard copy, delete the current entry and re-add the report to SLX.

Sorry, I've been knee deep in a project here.

When we upgraded I did that very thing, saved the custom reports from the Architect to a folder. After the upgrade, I modified the custom reports outside of SalesLogix using Crystal Reports XI R2 (the SLX OEM version). After I was satisfied the reports were working fine outside of SLX, I deleted and added the reports back into SLX.

Something else we do here... the reports are under source control using Visual SourceSafe. This way we have the ability to go back to a previous report version if necessary. We also have any views or stored procedures created for reports in VSS as well.

John G.

[Reply][Quote]
Mark Hanford
Posts: 131
 
Re: Just migrated to 7.01, Updated reports to X1 Release 2. When running report based off groups SLX says "Invalid Crystal Query String" and display all records...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Jan 08 9:51 AM
Hello,

We recently upgraded to 7.2.1 (from 6.2) and we're getting the same thing.

It's happening on certain old reports and also a new one I've just created from scratch. It happens wether I use the SLX provider or the Native SQL Client.
It only happens if I select "current group". Using current record or all records works fine.

Is there any way of capturing the query string as it's sent to Crystal? The SLX Profiler shows a query that runs fine in Query Analyser, although it's been slightly modified by (I assume) the provider. I've not tried the SQL profiler yet.

Thanks,

Mark
[Reply][Quote]
Mark Hanford
Posts: 131
 
Re: Just migrated to 7.01, Updated reports to X1 Release 2. When running report based off groups SLX says "Invalid Crystal Query String" and display all records...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Jan 08 10:00 AM
This is the SQL as reported by the SLX Profiler by the way (note the changes to my original SQL, which are the link to SECRIGHTS, the _ after CONTACTS and the ACCESSID on the contact table)

SELECT DISTINCT
A1.ACCOUNTID AccountID
, A1.ACCOUNT Account
, A1.TYPE AccountType
, A3.RESPONSIBLE_TEAM ResponsibleTeam
, A2.SUBSCRIPTION_FEE SubFee
, COUNT(DISTINCT CASE Web.RESOURCE_TYPE
WHEN 'hr' THEN CONVERT(varchar(10),Web.CREATEDATE,20)+WEB.CONTACTID
ELSE NULL
END) HRCounter

, COUNT(DISTINCT CASE Web.RESOURCE_TYPE
WHEN 'docman' THEN CONVERT(varchar(10),Web.CREATEDATE,20)+WEB.CONTACTID+CONVERT(varchar,WEB.RESOURCE_ID)
ELSE NULL
END) DocManCounter

, COUNT(DISTINCT Escrow.PY3_SERVICESID) EscrowCounter
, COUNT(DISTINCT Room.PY3_SERVICESID) RoomCounter

FROM ACCOUNT A1 INNER JOIN SECRIGHTS S_AA ON (S_AA.ACCESSID = 'U6UJ9A000008' AND A1.SECCODEID = S_AA.SECCODEID )

LEFT JOIN PY3_ACCOUNT A2 ON (A1.ACCOUNTID=A2.ACCOUNTID)
LEFT JOIN PY3_COMPANY_INFO A3 ON (A1.ACCOUNTID=A3.ACCOUNTID)
LEFT JOIN CONTACT_ C1 ON (A1.ACCOUNTID=C1.ACCOUNTID) AND C1.ACCESSID_='U6UJ9A000008'
LEFT JOIN PY3_SERVICES Escrow ON (C1.CONTACTID=Escrow.CONTACTID AND Escrow.CATEGORY = 'escrow active' AND Escrow.CONTACT_ROLE = 'escrow owner')
LEFT JOIN PY3_SERVICES Room ON (C1.CONTACTID=Room.CONTACTID AND Room.SERVICE_TYPE = 'Room Booking' AND Room.STARTDATE BETWEEN DATEADD(year, -1, CONVERT(varchar(7), GETDATE(), 20)+'-01 00:00:00') AND DATEADD(day, -1, CONVERT(varchar(7), GETDATE(), 20)+'-01 23:59:59'))
LEFT JOIN WEBHISTORY Web ON (A1.ACCOUNTID=Web.ACCOUNTID AND Web.CREATEDATE BETWEEN DATEADD(year, -1, CONVERT(varchar(7), GETDATE(), 20)+'-01 00:00:00') AND DATEADD(day, -1, CONVERT(varchar(7), GETDATE(), 20)+'-01 23:59:59'))

GROUP BY
A1.ACCOUNTID
, A1.ACCOUNT
, A1.TYPE
, A3.RESPONSIBLE_TEAM
, A2.SUBSCRIPTION_FEE

ORDER BY A1.ACCOUNT
[Reply][Quote]
Chip
Posts: 29
 
Re: Just migrated to 7.01, Updated reports to X1 Release 2. When running report based off groups SLX says "Invalid Crystal Query String" and display all records...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Mar 08 1:04 PM
I am also seeing this issue. I am pushing Sage to provide a fix or a workaround beacuse even some standard reports get this error. Sorry I dont have a solution as of yet but when I get one I will post it here.
[Reply][Quote]
Lawrence Reid
Posts: 63
 
Re: Just migrated to 7.01, Updated reports to X1 Release 2. When running report based off groups SLX says "Invalid Crystal Query String" and display all records...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Feb 09 3:55 PM
This was logged as bug#1-65573 way back when. It is still a known issues in 7.5.
Has anybody found a work around?
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Just migrated to 7.01, Updated reports to X1 Release 2. When running report based off groups SLX says "Invalid Crystal Query String" and display all records...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Feb 09 4:22 AM
Is there a chance you renamed any of the slx fields from their normal to something else e.g. CONTACTID to z_CONTACTID (you can compare this in sectabledefs select * from sectabledefs where fieldname <> displayname)
I had this on a 7.5 upgrade were I had renamed some of the "core" fields from their norm. Once I fixed those back - reporting worked fine.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/25/2024 8:27:39 AM