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



Work Order - Printing Date/Time Expand / Collapse
Author
Message
Posted 1/3/2007 9:00:56 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 5/28/2008 10:15:00 PM
Posts: 97, Visits: 124
I have customized my printed work order and one field has the following:

private void OnBeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
xrScheduled.Text = string.Format("{0}:  {1}",  ("Scheduled"), GetCurrentColumnValue("LT_WorkorderService_Label_ServiceDate"));
}

Works great but - When using this, you do not have the option to specify text formatting as I want the time date displayed as M/dd/yyyy hh:mm tt

I am not a programmer or script writer so I am not sure where to even begin adding that into the script.  Any help would be greatly appreciated.

Post #2511
Posted 1/3/2007 9:37:47 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 @ 2:47:18 PM
Posts: 1,835, Visits: 4,254
Hi

Please export a copy of your report template that you are customizing, zip it up using WinZip and attach to your reply, identify the exact field you are referring to in the report template (i.e from the (Name) Property field) and I can take a look tomorrow as to what field and what report template you are referring to and can at that time make a suggestion.

I will also move this topic to the AyaNova v3 Printing & Report Templates section at that time too - as that is the forum section where you will find additional sample report templates plus other topics posted regarding printing and report templates.

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #2513
Posted 1/4/2007 8:51:51 AM
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 @ 2:47:18 PM
Posts: 1,835, Visits: 4,254
Hi again

As above, do attach a copy of the report template as well as identifying the precise field referring to in the report template.

I've also moved this to the Printing & Report Templates section of the forum.

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #2518
Posted 1/5/2007 12:18:39 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 5/28/2008 10:15:00 PM
Posts: 97, Visits: 124
Why do you need the report - All I need is the correct syntax to format the date/time within the script.  Is that possible?
Post #2525
Posted 1/5/2007 8:48:11 AM
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 @ 2:47:18 PM
Posts: 1,835, Visits: 4,254
Than I can see the way it is being used and provide a possible solution.

Attach the report template and I can take a look.

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #2529
« 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 3:45am

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