I have been asked to retrieve a date value from a string db field, field name is {HCOMMENT.CLOB}
A sample string value looks like the following:
LEASE APPT SCHEDULE BY PHONE / APPT IS FOR 2/17/2010 2:30PM.
I am attempting to get the date 2/17/2010 from this string.
I have defined the following using lookslike and am not getting any values back, note {wlcerti.dissuedate} is a datetime field.
if lookslike({HCOMMENT.CLOB},"?/?/??") then
date({wlcerti.dissuedate})
else
if lookslike({HCOMMENT.CLOB},"?/?/????") then
date({wlcerti.dissuedate})
else
if lookslike({HCOMMENT.CLOB},"?/??/??") then
date({wlcerti.dissuedate})
else
if lookslike({HCOMMENT.CLOB},"?/??/????") then
date({wlcerti.dissuedate})
else
if lookslike({HCOMMENT.CLOB},"??/??/??") then
date({wlcerti.dissuedate})
else
if lookslike({HCOMMENT.CLOB},"??/??/????") then
date({wlcerti.dissuedate})
I am certain that the date I am trying to pull from the string is a value in the db field wlcerti.dissuedate
Thanks!
A sample string value looks like the following:
LEASE APPT SCHEDULE BY PHONE / APPT IS FOR 2/17/2010 2:30PM.
I am attempting to get the date 2/17/2010 from this string.
I have defined the following using lookslike and am not getting any values back, note {wlcerti.dissuedate} is a datetime field.
if lookslike({HCOMMENT.CLOB},"?/?/??") then
date({wlcerti.dissuedate})
else
if lookslike({HCOMMENT.CLOB},"?/?/????") then
date({wlcerti.dissuedate})
else
if lookslike({HCOMMENT.CLOB},"?/??/??") then
date({wlcerti.dissuedate})
else
if lookslike({HCOMMENT.CLOB},"?/??/????") then
date({wlcerti.dissuedate})
else
if lookslike({HCOMMENT.CLOB},"??/??/??") then
date({wlcerti.dissuedate})
else
if lookslike({HCOMMENT.CLOB},"??/??/????") then
date({wlcerti.dissuedate})
I am certain that the date I am trying to pull from the string is a value in the db field wlcerti.dissuedate
Thanks!