[U2] [UV] Strange mask behavior
Hello, I had this small test program on UV 11.1.3: A = 5143546011 CRT A (###) ###- CRT FMT(A,(###) ###-) I was expecting to have: (514) 654-6011 (North American formatted phone) However I am getting: 514) 354-6011 514) 354-6011 Any idea why ? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [UV] Strange mask behavior
add L or R or T before the 1st ( Left or Right or Text justification Rich Jacques G. wrote: Hello, I had this small test program on UV 11.1.3: A = 5143546011 CRT A (###) ###- CRT FMT(A,(###) ###-) I was expecting to have: (514) 654-6011 (North American formatted phone) However I am getting: 514) 354-6011 514) 354-6011 Any idea why ? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- Richard A Wilson Lakeside Systems Smithfield, RI, USA Voice 401-231-3959 Fax 206-202-2064 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [UV] Strange mask behavior
the parenthesis is part of the syntax, normally surrounding the fill part of the fmt expression and separating it from the justification and descale parts, for example: CRT A R(#20) prints A right justified in a field of 20 spaces. It's confusing because that example will also work without the parens. If you want to use ( as a literal, put parens around the entire fill part: CRT A ((###) ###-) On Jan 25, 2012, at 10:55 AM, Jacques G. wrote: Hello, I had this small test program on UV 11.1.3: A = 5143546011 CRT A (###) ###- CRT FMT(A,(###) ###-) I was expecting to have: (514) 654-6011 (North American formatted phone) However I am getting: 514) 354-6011 514) 354-6011 Any idea why ? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users