No. It is just like it is defined below ... the report var is set to the variable outside the report that is gotten after the dialog.
SET VAR vshipdate = .vship
Jim
[EMAIL PROTECTED] wrote:
It's probably a jdate. Look at the report to see if there is something like:
vVar = (jdate(.#date))
Ben Petersen
On 12 Mar 2004 at 15:21, Jim Limburg wrote:
G-Day all
In a DOS 6.5 database I run into a report that is printing a variable that is a date field as a number
like 2192621. for yesterday. The data in the column
in the database is fine, or looks like it from the
Browse window. The variable is getting to the report OK.
The variable is defined in the report as SET VAR vshipdate = .vship
It's code to run the report is:
SET VAR whval0 TEXT DIALOG 'Enter the Ship Date (MM/DD/YYYY):' whval0 whtemp 1 SET LINES=60 SET VAR vship DATE=.whval0 OUTPUT PRINTER PRINT shiplog WHERE shipdate = .whval0 + ORDER BY refnum ASC IF errvar <> 0 THEN
I have checked the Date format and seqence and they look good
I know I have seen this before, but can place my mind on the fix.
Jim

