Page 1 of 1

R&R Script

Posted: Wed Sep 29, 2004 11:03 am
by Anthony
Is there a way to clear the default band lines(header,record, etc..) before inserting a new band in the script?

=> RE: R&R Script

Posted: Thu Sep 30, 2004 7:45 am
by kfleming
Do you indeed mean when using an R&R script file to create a report?__With Open Scripting you can indeed define what band lines are created for the script report. If you want a single record band on the layout you can just define a record band. There are no mandatory band types.____Kathleen__R&R Support__

=> RE: R&R Script

Posted: Thu Sep 30, 2004 9:29 am
by Anthony
Yes, I^m using the R&R script to create a new report, I just want to use record bands in my script with no header or footer defined because I^m just doing a label. However, when I run the script, the report writer always generate a header(4 lines), record(1 line) and footer(2 lines) band.__

==> RE: R&R Script

Posted: Thu Sep 30, 2004 4:29 pm
by kfleming
When I do this in Version 9 or 10 and have colors enabled, in the Designer I do see "phantom lines" below my record band (I see the color coding) but the only real band line in my report is indeed a record band.__If you want, you can send your script file to me at livesupport@livewarepub.com and I will have a look.____Kathleen__R&R Support

===> RE: R&R Script

Posted: Thu Sep 30, 2004 4:50 pm
by Anthony
It^s just a simple script for labels so I^ll just add my code here, I^m using version 9.______; REPORT SECTION__[Report]__MasterTable=c:extrasguest.dbf______; ACTION SECTION__[Actions]__Menu=FilePrintPreview____; PAGE FORMAT SECTION__[PageFormat]__PageSize=0__TopMargin=0__BottomMargin=0__LeftMargin=0__RightMargin=0____[RecordFormat]__RecordsAcross=4__;AveryLabel= OML 102 Avery____; BAND LINE DEFINITION SECTION____[Record]__CharField=NAME,F,0.0__[Record]__CharField=ADDRESS1,F,0.0______;SORT SECTION__[Sort]__SortField1=NAME__