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



custom fields report Expand / Collapse
Author
Message
Posted 3/18/2007 6:50:36 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/23/2007 12:15:29 PM
Posts: 5, Visits: 14
I am using custom fields for dates on the workorder screen.  I have created a detailed report and have chosen the databinding - text - format mm/dd/yy, but it continues to display 12:00am after the date.  How do I remove the time from the date.
Post #2932
Posted 3/18/2007 6:53:46 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: Yesterday @ 4:59:45 PM
Posts: 1,868, Visits: 4,328
Hi Keisha
  1. Export a copy of your custom report template
  2. Zip it using WinZip
  3. Attach it to your reply
  4. Include in your reply the exact Field Name you are attempting to change the date/time display on and what detailband it is in - so that I know exactly which you are referring to.

p.s. I've moved this topic to the AyaNova v3 Printing & Report Templates section of this forum as this is in regards to designing report templates

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #2933
Posted 3/18/2007 7:03:50 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/23/2007 12:15:29 PM
Posts: 5, Visits: 14
Attached is the report.  I want all the fields that are dates to show dates only, no time.

  Post Attachments 
Custom Fields.zip (2 views, 12.00 KB)
Post #2934
Posted 3/18/2007 7:13:03 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: Yesterday @ 4:59:45 PM
Posts: 1,868, Visits: 4,328
Hi again

Because this is an original report template, I can not import it without deleting the original report.

Please provide what this report template was called before it was renamed so that I can delete the original and than import this report template you have provided.

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #2935
Posted 3/18/2007 7:15:31 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/23/2007 12:15:29 PM
Posts: 5, Visits: 14
progress report
Post #2936
Posted 3/18/2007 7:33: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: Yesterday @ 4:59:45 PM
Posts: 1,868, Visits: 4,328
Hi again

There is not a grid in AyaNova called Progress

But I clued in that this is the original sample report template Custom Fields from the Custom Fields grid in the Service navigation pane.

Because this is a summary report template (as only summary report templates can be created from the Customm Fields grid), you can not use the FormatString setting for the datafield.

You would use as per the example in the topic http://forum.ayanova.com/Topic2271-100-1.aspx because this is a summary report template.

I do not have your data here to know exactly what you have set for the custom fields, but am assuming from your support request and the fields in this report that the field under "rec'd" has been set to the datatype of Date or Date/Time.

I've attached a copy of your report template following the steps in the above forum topic for the field xrLabel4 which is bound to the data WorkorderServiceCustomList.LT_WorkorderItem_Label_Custom1

Import this report template, select the field xrLabel4, and see the script I have copied from that forum post into the OnBeforePrint script, and how I have set the FormatString property for that field.

You can refer to this  field, copying the same script to the OnBeforePrint property for the other custom fields that you want to have show only the Date, as well as setting the FormatString property for the other fields.

Let me know this gets you going.

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com


  Post Attachments 
KeishaCustomFields.zip (2 views, 13.55 KB)
Post #2937
Posted 3/18/2007 8:00:58 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/23/2007 12:15:29 PM
Posts: 5, Visits: 14
The script seems to be the same.  Can you email me the script and I can put it into the report?
Post #2938
Posted 3/18/2007 8:11:29 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/23/2007 12:15:29 PM
Posts: 5, Visits: 14
I figured it out.  Thank you so much for your help.
Post #2939
« 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