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

Converting string date datatype to date datatype

Status
Not open for further replies.

syedmca

Technical User
Jul 28, 2007
16
IN
Hi,

In select expert i need to put condition that database field which is of string dataypt >= date data type .

How can i do this plz explain me step by step



Thanks
Syed
 
You would have to show us how the string date displays. Be sure to tell us how it is formatted, e.g., MM/dd/yyyy or dd/MM/yy, etc.

-LB
 
Hi,

String which is a database field is yyyy-mm-dd hh24:mi:ss
is to be compared against a parameter(date) datatype.


In select expert it is showing error statign that for database field expecting datetime
Plz help me in this regard.Step by step
 
You should be able to create a formula like this:

cdate({table.yourstring})

... and then set the formula equal to the date parameter.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top