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: Stripping off the SLX header info
Antony Currington
Posts: 15
 
Stripping off the SLX header infoYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Jun 06 11:43 PM

amitriptyline davis pdf

amitriptyline and alcohol overdose msahin.net
fiogf49gjkf0d
Hi all

I've got some code that will extract a SLX Crystal report out to a file on the disk, but the file appears to have some SLX Specific header info in it.

Anyone know how I can get rid of this? I'm sure it must be easy, but I can't seem to get it so that the file on the disk is a Crystal Report without any SLX info.

Crystal complains that I'm using the wrong version, yet I know I am using the same version as the one that entered it, and I assume that the SLX header info is causing me headaches...

Antony
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Stripping off the SLX header infoYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Jun 06 12:47 AM

against abortion

buy abortion pill
fiogf49gjkf0d
Well, a crystal report plugin is just a serialized Delphi TComponent with the report appended to the end. The serialized TComponent will end with two consecutive null chars (0x00, 0x00) and will not contain two consecutive nulls internally.

So, all you need to do is look for the two null chars in your stream and copy everything following those to the end of the blob to a file and you'll have your crystal report file.

The header (everything wrapped in the TComponent) will expose the properties of the report plugin if you're interested in that. You can get to the UserField, DateField, OriginalFileName (the most useful if you want to actually recreate the file with the original name), WhenOpen.Action (something like "Basic" or ActiveScript") and the WhenOpen.Argument (ie: the script to execute on WhenOpen of the report)

Got it?
[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 5:16:02 AM