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!

converting a date string to a date field

Status
Not open for further replies.

quesnell

Technical User
May 14, 2003
4
0
0
GB
I have been trying to convert a date string to a date field using the DTSTodate function but the field comes up blank. I have set the report options to show date fields as just date but have still not had any luck. I have not experienced this problem before. The string field currently holds the date in the format of 30/12/2003.

Any ideas?
 
Try:

cdate({table.field})

or

cdate(val(mid({table.field},7,2)),val(mid({table.field},7,2)),val(left({table.field},2)))

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top