November 5, 200421 yr I have a text field made from parsed text that has a date in it in mm/dd/yyyy format. I'm having a heck of a time getting that into a date formatted field. I've tried set field which results in a "?" and i've tried a calculation field that ='s that text field as a result in date. Same result. In short Text field of "01/01/2000" set field into date field results in "?" Text field of "01/01/2000" in a calculation field with a rest of date results in "?" Any ideas?
November 5, 200421 yr The problem is entering text into a date field. Even though the text is in the correct date format, it is not the correct data type. This can be tested by the IsValid( ) function. Use the TextToDate( date ) function in your calcualtion field and/or your script. a) Set Field ["DateField", "TextToDate( TextFieldWithDate )"] : cDateField = TextToDate( TextFieldWithDate ) c) Another option is using the Date( month , day , year ) function in the parsing field.
Create an account or sign in to comment