RPTDATE

Date input order

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET

The RPTDATE environment variable specifies the input order for dates in ReportWriter. Setting RPTDATE affects the default date order that is used when dates are entered into ReportWriter input fields. Because it changes the UI Toolkit global variable g_date_order, it affects your application if you are using the ReportWriter’s external subroutine interface.

One of the following input orders for date fields:

1 = DDMMYY

2 = YYMMDD

If RPTDATE is not set, the default input order for dates is MMDDYY.

Note

If you are accessing ReportWriter from your application by external subroutine interface, using RPTDAT can affect the value of g_date_order in your application.

The environment. On Windows, this environment variable can also be set in the [synergy], [dbr], or [myprog] section of synergy.ini (where myprog is any .dbr file).

ReportWriter

On OpenVMS,

$ DEFINE RPTDATE 2