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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DATE subtract in FM

Status
Not open for further replies.

JPCogAdmin

Programmer
May 22, 2006
110
US
Hi,

I wonder if any of you have an answer that can help. Here is the scenario.

I have a table that has 2 dates (date1 and date2). To get the amount of days I created a query item that is composed of this (day2 - day1). Now I'd like to convert this into a number value. However, I've tried using cast and it fails. I'm using FrameWork Mgr 8. Does someone know how to do this?

-j
 
Probably because subtracting a date from a date yields a numeric value in the first place..

Ties Blom

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top