AyaNova service management & work order software
AyaNova Support Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Using Continuous Feed Carbonless Forms (Dot... Expand / Collapse
Author
Message
Posted 5/29/2008 12:49:47 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 6/18/2008 10:55:58 AM
Posts: 28, Visits: 85
Hello,

I am thinking about using 2 or 3-part carbonless forms for my work orders in AyaNova.  Here is my question;  Does anyone else here currently employ these forms? If not, and I decide to go this route, I there a way to make sure the bands are fixed and do not expand as the forms I will be using will be pre-printed.

Thank you,

Joshua Bachman
ISUS Technology Services

Post #4077
Posted 5/29/2008 1:36:41 PM
AyaNova Sales & Support

AyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & Support

Group: Administrators
Last Login: 2 days ago @ 7:34:22 AM
Posts: 2,190, Visits: 5,029
Hi Joshua

If you are referring to the datafields changing in size, in the report designer for the reports you create for these pre-printed forms, make sure the CanGrow and the CanShrink properties of each datafield is set to False

For example:

  • Open up an existing report template
  • In the report design panel, click on a datafield
  • Select the Property tab on the left
  • See the two properties CanGrow and CanShrink? You would set these to False

If instead you are referring to what bands show - such as Labor charges, Parts, etc; existing sample report templates such as the Sample Detailed Service Workorder with Grand Total for example, have in each bands OnBeforePrint script that if there is no data, that band of preset text is to be skipped.

For example:

  • Open up the Sample Detailed Service Workorder with Grand Total in the report designer
  • Click on the Detail3 band (which is directly under the DetailReportItemLabor band)
  • Select the Property tab to the left
  • Expand the Scripts property and view the OnBeforePrint script.
  • It has the following script which if there is no labor records, it won't print the preset text labels

private void OnBeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{


   //*************************
   //Don't print band if there is no data:
   //Get the id value of the record
   System.Guid g=(System.Guid)DetailReportItemLabor.GetCurrentColumnValue("ID");
   
   //See if it's empty:
   if(g==Guid.Empty)
    e.Cancel=true;//cancel this print event
   //**************************
   Detail.Height=xrLabel17.Bottom;

}

  • So you would want to go through and remove these scripts

Also note that if your preprinted forms allow for one labor record, but your actual workorder has two labor records in the workorder item, the report designer will print out both. So keep this in mind that the report template is going to print out what you have in the workorder.

Do note that you could just get blank 2 or 3 carbonless forms instead of having them pre-printed with text that you print out the data into

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #4078
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: AyaNova Sales & Support

Permissions Expand / Collapse

All times are GMT -8:00, Time now is 11:19am

Powered by InstantForum.NET v4.1.4 © 2010
Execution: 0.016. 7 queries. Compression Disabled.