Observing a strange behaviour in my assets db
Was trying to enter a purchase value of 1.200.000 and it changed back to 1.000.000
The forms control property indeed show min max value of 1.000.000
The numeric or decimal data type(s) work fine in forms, however if converted to currency there is a problem. Anyone aware of this behaviour (bug?) I mean one wouldn t often have a million dollar item in an asset db, but hey in most of South America you are a millionaire with the equivalent of 2000 AUD
[Solved] Of decimal or numeric field in form to Currency
[Solved] Of decimal or numeric field in form to Currency
Last edited by gkick on Tue Dec 03, 2019 8:49 pm, edited 1 time in total.
Libre Office 6.4.6 on Windows 10 HSQL 2.51 backend
Re: Change of decimal or numeric field in form to Currency
What is the column type in the underlying table?
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: Change of decimal or numeric field in form to Currency
Hi Villeroy,
original datatype decimal.
original datatype decimal.
Libre Office 6.4.6 on Windows 10 HSQL 2.51 backend
Re: Change of decimal or numeric field in form to Currency
Seems to be a problem with a Currency-field as column within a table control.
Use a formatted field.
Use a formatted field.
gkick wrote:The forms control property indeed show min max value of 1.000.000
- MMove 1.0.6
- Extension for easy, exact positioning of shapes, pictures, controls, frames ...
- my current system
- Windows 10 AOO, LOLinux Mint AOO, LO
Re: Change of decimal or numeric field in form to Currency
DECIMAL with a length of 8 and 2 decimals means that you can't store numbers bigger than 999,999.99
Make field types as big as necessary and as small as possible.
Adjust the min/max values of your form controls according to the underlying field types.
Make field types as big as necessary and as small as possible.
Adjust the min/max values of your form controls according to the underlying field types.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: Change of decimal or numeric field in form to Currency
Thanks all ! So its the systems default length of the datatype unless specified otherwise.
Libre Office 6.4.6 on Windows 10 HSQL 2.51 backend