Smoothcat74
Technical User
- Aug 29, 2008
- 40
Ok, I apologize for having to start a thread for this, but I searched high and low and couldn't find the answer in the other postings. This is probably super simple, but unfortunately I'm super simple and can't figure it out.
I have a field in Access that contains order numbers of varying lengths. If the order number starts with "M", then I want VBA to truncate the field to the first 8 characters starting from the left. If the order number does not start with "M", then I want it to truncate only the first 7.
Please help?
I have a field in Access that contains order numbers of varying lengths. If the order number starts with "M", then I want VBA to truncate the field to the first 8 characters starting from the left. If the order number does not start with "M", then I want it to truncate only the first 7.
Please help?