Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date issues

Status
Not open for further replies.

kcsilentbob

Technical User
Dec 14, 2005
42
US
I have three fields:

Table.Mo
Table.Da
Table.Yr

Basically it is the date broken into 3 seperate fields. I need to combine those fields into a workable date field for counting days.

I am running crystal XI.

Thanks
 
Assuming these are number fields, you should be able to use:

date({table.yr},{table.mo},{table.da})

...to get the date. Not sure what you have to count...

-LB
 
I am getting a too many arguments when I try to use that date function.
 
Well, there are not too many arguments, so I think you need to check the datatype of each field and report back. You can either note the datatype in the tool tip when you run the mouse over the fields on your report, or you can right click on the field and choose browse.

It would also help to see some sample data from each field.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top