logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

How to control date format in report
WN4AZY
#1 Posted : Sunday, March 4, 2012 9:32:41 PM(UTC)
admin

Rank: Administration

Groups: Administrators, Beta Testers
Posts: 3,063
Man
Location: Auburn, GA

Thanks: 975 times
Was thanked: 487 time(s) in 402 post(s)
The LOGic report writer normally prints dates in the same format as selected in Tools/Setup. To change the date format independently for one report, commands may be entered in BEFORE RUN:

Enter one of:

SET DATE YMD
SET DATE DMY
SET DATE MDY


You may also control the date separator.

SET MARK TO "."

forces the use of a period.

SET CENTURY ON
SET CENTURY OFF

Controls whether or not a four-digit year is printed.

So

SET DATE DMY
SET MARK TO "."
SET CENTURY ON


Will print dates as

31.01.2013

Note that dates are stored internally in a consistent format that has no effect on output. Output format may be changed at will.

If these commands are used on versions of LOGic prior to 9.0.40, the format will remain in effect after printing the report, and will affect log form display and input. You could issue commands in AFTER RUN to set the date format back to what you normally use.
Sponsor
Note: We receive a commission from Amazon when you purchase via this link. It does not affect your cost. Thank you!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.016 seconds.