I have a default value that is populating a read only text field, that
contains the date from the date picker as part of the value. It goes
like this:
manufacture date: (user selected)
product: 6 digits (user entered)
I have a barcode field that gets auto-populated from those two values
like this:
01012000999999
By concatinating the two user selected fields. My problem is that the
date doesn't show because the / / / aren't trimmed in the function.
Is there a way to trim out slashes and time from a date picker to
populate a text box using an expression?
Greg Collins [InfoPath MVP] - 31 May 2006 20:21 GMT
translate(ManufactureDate, "/", "")

Signature
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPath Dev ( http://www.InfoPathDev.com )