cancel
Showing results for 
Search instead for 
Did you mean: 

Write to text file in Crystal Report

Former Member
0 Kudos

I need to have ever increasing serial number printed every time a particular Crystal Report is printed. I do this now with label printing software by writing the next number to a text file on our server. Every time a label is printed I increment this number and update the file. Is there a way do similar in Crystal Reports?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

This is a carton label which will automatically be generated from our ERP system when a direct machine interface reaches the set piece count. The number series is for one particular customer who set the range of values. Our new ERP system cannot handle a separate set of numbers per customer.

I could let my current label software handle the job if I can have Crystal output a straight text file which will trigger the label print. How would I design a report to output a txt file such as:

[count]=4

[printer]="Zebra 1"

[format]="Label1.btw"

[Field1]="Some Data"

[Field2]="More Data"

DellSC
Active Contributor
0 Kudos

There is no way to do this from within Crystal itself. How are you planning to run the report? Do you have BusinessObjects or Crystal Reports Server? Or will you be writing code using either the .NET or Java Crystal SDKs?

-Dell