I have a report that prints off a bar-code for the user to be able to scan it to the system. It works great except one issue the bar-code has to be 9 digits long (a R followed by 8 numbers) the problem is that the user types in whatever number they have, it could be 8 or it could be 7. I need to add a 0 after the R to make it work... but it wont work if there are 8 number already since that would make it to long... Here is what i have
that works for it if it is 8 numbers but not 7. I can use
but that only works if it is 7 numbers... Any ideas? Thanks for the help!
Code:
=Trim("*M") & Trim([plate]) & Trim("*")
Code:
=Trim("*M0") & Trim([plate]) & Trim("*")