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



Workorder Reports Expand / Collapse
Author
Message
Posted 1/10/2008 1:23:55 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 1/29/2008 2:47:22 PM
Posts: 14, Visits: 46
After customizing and trying to preview a workorder report I received the error message below. Now no matter what I change it will not let me preview or print the workorder report. How can I rectify this?

There are following errors in script(s):
reportHeaderBand1.OnBeforePrint, line 7: error CS0103: The name 'pnlUnit' does not exist in the current context

Post #3708
Posted 1/10/2008 2:51:25 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: Today @ 7:20:51 AM
Posts: 1,703, Visits: 4,009
Hi

From the message, this indicates that you have removed a panel that was called pnlUnit

  1. Select the reportHeaderBand1
  2. In the Properties tab, expand the Scripts property
  3. Edit the OnBeforePrint script property, removing the line(s) that refer to pnlUnit
  4. Close out of that script property
  5. Now select Print Preview so you confirm no additional errors occur
  6. If additional errors occur, it will identfy what band or what field the error is coming from so that you can correct it.

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #3710
« 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 9:26pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 10 queries. Compression Disabled.