This is not quite right as Month is only 1 character when the month is less than 10 and year is YYYY - I need a 6 digit string for the date
also Field:Bags is an integer field and doesn't work for this, how do I convert the integer field to text - I get an error message when attempting to convert integer to text string.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Corpcatalog
I have a formula field which produces a batch id from 3 fields.
[@field:Cert]+'-'+CONVERT(VARCHAR,(Day([@field:BatchDeliveryDate]))) + CONVERT(VARCHAR,(Month([@field:BatchDeliveryDate]))) + CONVERT(VARCHAR,( Year([@field:BatchDeliveryDate])),2)+'-'+CONVERT(VARCHAR,([@field:Bags]))
This is not quite right as Month is only 1 character when the month is less than 10 and year is YYYY - I need a 6 digit string for the date
also Field:Bags is an integer field and doesn't work for this, how do I convert the integer field to text - I get an error message when attempting to convert integer to text string.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.