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!

Pulling Date/Time info from a Memo Field

Status
Not open for further replies.
Jul 7, 2005
8
US
Hello,

How would I pull out the date/time stamp from a memo field with the following format:

4/11/2007 11:26:31 AM Suzy Sting
Assigned to Individual changed from to Tami Shortridge

The Status field has changed from Assigned to Work In Progress


Thank you for any and all assistance provided,

Heather
 
You could try a formula like this:

if not isnull({table.memo}) then
datetime(
split({table.memo}," ")[1]+" "+
split({table.memo}," ")[2]+" "+
split({table.memo}," ")[3]
)

This would make the string a datetime field. If you want it to remain a string, remove datetime().

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top