On Mon, 2005-05-30 at 23:30 +0200, tomero wrote: > Hello, > I'm novice in Open Office and have some problems with Writer and forms. > I try to create some form in Writer which would be filled in via computer > and then it will be printing. > This form wouldn't be connect with any database. > I'v got problems with numeric field. This field is dedicated to bank > account number, so it should match with IBAN standards > I want correspond with IBAN account length - in Poland bank accounts have > 34 digits or 42 when you include spaces. > So, I created a conrol with defined format. In control propertise I have > choosen formatting and defined this user-format: > > ##_####_####_####_####_####_####_####_####
I think you will find that the above contruct can be handled better as a string. Try that. > > But those format doesn't work and two strange thigs happend: > > 1) Writer ignore my numbers which I type in when there are more than 15 > digits, ie. I type 1234567890123456789 and Writer received me: > 1234567890123460000 > Please take your attention to last 5 digits. After 4 its 6 instead of 5 > and rest of the digits have replaced by zeros. The underbars make the above a string and I think that OOo is getting confused. > > 2) Writer ignore my format - ie. I type 1234567890123456789 and Writer > received me: 1 234 567 890 123 460 000 > so it doesn't collect digith in gruops in my scheme (2 4 4 4 etc.) but in > this one: 1 3 3 3 etc. As a numeric I think it would. Again try handling it as a string. > > Of course the case 1 and 2 are separated by me to show problem in simplest > way but it happens in the same time. > > I checked how does Writer works with numeric control without my own format > and the same problem as in point 1 appeared too. > > > I know how to do in Ms Word but not in Writer. > > Thank you very much for any help and suggestions. > > P.S. I used OO 1.1.4 on WinXP platform > If you want I can send my file in OOo and in MS Word as a pattern. > > Sorry for my english - I'm novice in this language too :) > You English is excellent. However you might prefer Polish which is available at http://pl.openoffice.org/ -- PLEASE KEEP MESSAGES ON THE LIST. OpenOffice.org Documentation Co-Lead http://documentation.openoffice.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
