Hi
I have a phone number field that may or may not have a country code (two digits). I want to limit the size of the phone number on the report to 10 digits - most calls are NOT to foreign countries. So I'm trying to return the right 10 most numbers to give me the phone number.
For the control on the report I have..
=RIGHT([CalledNo],10)
...which should give me the ten digit number. I need to use this so I don't have a bunch of (l)users asking me why there are zeros in front of the number they called. (I get the data this way from another vendor)
When I run the report I get an error. If I put this expression in a query it works fine. I'm using Access97 with the latest patch (just checked and installed) on a Windows2K box. I know I could just run a query - but why should I have to if the data's right in the table? Any pointers? Thanks!
PenelopeC
~~~>-/O~~~~~swimming right along
I have a phone number field that may or may not have a country code (two digits). I want to limit the size of the phone number on the report to 10 digits - most calls are NOT to foreign countries. So I'm trying to return the right 10 most numbers to give me the phone number.
For the control on the report I have..
=RIGHT([CalledNo],10)
...which should give me the ten digit number. I need to use this so I don't have a bunch of (l)users asking me why there are zeros in front of the number they called. (I get the data this way from another vendor)
When I run the report I get an error. If I put this expression in a query it works fine. I'm using Access97 with the latest patch (just checked and installed) on a Windows2K box. I know I could just run a query - but why should I have to if the data's right in the table? Any pointers? Thanks!
PenelopeC
~~~>-/O~~~~~swimming right along