R&R Script

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
Anthony
Posts: 7
Joined: Tue Oct 10, 2017 12:44 pm

R&R Script

Post by Anthony » Wed Sep 29, 2004 11:03 am

Is there a way to clear the default band lines(header,record, etc..) before inserting a new band in the script?

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: R&R Script

Post by kfleming » Thu Sep 30, 2004 7:45 am

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__

Anthony
Posts: 7
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: R&R Script

Post by Anthony » Thu Sep 30, 2004 9:29 am

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.__

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: R&R Script

Post by kfleming » Thu Sep 30, 2004 4:29 pm

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

Anthony
Posts: 7
Joined: Tue Oct 10, 2017 12:44 pm

===> RE: R&R Script

Post by Anthony » Thu Sep 30, 2004 4:50 pm

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__

Post Reply