Newbies octopuz Posted February 20, 2012 Newbies Posted February 20, 2012 Hi, I need some help, I have a field in a database called "Project Number" this field has a format PXXXX-Y in a drop down list, so user cannot modify the field. I am required to replace this value so that if the user want to print an invoice, the project number is automatically changed from PXXXX-Y to PXXXX00Y in the invoice layout. How does the script look like if I want to implement this? Thank you for your help
comment Posted February 20, 2012 Posted February 20, 2012 Use a calculation field = Left ( Project Number ; 5 ) & "00" & Right ( Project Number ; 1 ) or = Substitute ( Project Number ; "-" ; "00" )
Recommended Posts
This topic is 4660 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now