A
Allison_H
Hi,
I am somewhat of a beginner in regards to my Access skillset.
I am trying to create two separate queries and am in need of assistance. I
have been trying to use iif, len and replace but am struggling.
1. Text Field (numeric and alphanumeric): If the length of the string is not
equal to 10 characters I need to set that value to "9999999999".
2. Text Field (numeric and alphanumeric): I need to remove all "-" and all
spaces. From this result I need to display the first 10 characters. If there
are less then 10 characters then no value is to be displayed.
Thank you,
Allison
I am somewhat of a beginner in regards to my Access skillset.
I am trying to create two separate queries and am in need of assistance. I
have been trying to use iif, len and replace but am struggling.
1. Text Field (numeric and alphanumeric): If the length of the string is not
equal to 10 characters I need to set that value to "9999999999".
2. Text Field (numeric and alphanumeric): I need to remove all "-" and all
spaces. From this result I need to display the first 10 characters. If there
are less then 10 characters then no value is to be displayed.
Thank you,
Allison