Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report Writer

Status
Not open for further replies.

MrProgrammer

Programmer
Feb 1, 2002
41
TR
I have 2 problems..

1-)
I designed a report using Report Writer tool. In the report, there are some runtime fields.
In my application, I'm using the code below.

RUN('C5PRINTX LibraryName ReportName /VVariable1=Value1 /VVariable2=Value2 ...')

But here is the problem.

Even though I used short-length variable names, the command string exceeds 127 characters. The commands that exceed 127 characters are not allowed to be used with command.com. How can I handle with this problem?

2-)
As I said just before, I designed a report with Report Writer. I want to put a string on the top of a page but it must be seen only at the first page. I tried to use Title Page but it didn't work. Then I tried to use a conditional field that if the PageNo is not the first, the field value will be Null (empty). But I don't know how I can learn the Page Number? What should I do??
 
Ok. For the first request, I recommend to use the report writer DLL instead of EXE, there is an app. example over the examples directory!.... All information on how to do it is there, on the Report Writer Book, or Pdf.

bye. -----
carabez@hotmail.com
 
for no.1
wtite a batch.bat file containing

C5PRINTX LibraryName ReportName /VVariable1=Value1 /VVariable2=Value2 ...

and than
run('batch.bat')





 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top