Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

On Fri, 2012-04-13 at 17:49 +0200, Andreas Säger wrote:
Am 13.04.2012 17:42, leon244 wrote:
I am trying to find a way to format the text fields in my small data base to
be uppercase only. Is there a way to do it at the table field level with the
'format', or can it only be done at the form level through a pattern field
using 'X'?

View this message in context:
Sent from the Users mailing list archive at

Since 'x' and 'X' are different characters, this has nothing to do with 
Set the field type to VARCHAR_IGNORECASE so 'x' and 'X' are considered 
as equivalent. In queries you can use the UCASE or UPPER function in 
order to display the upper case version of the text.


Right - well the VARCHAR_IGNORECASE is fairly specific to HSQLdb, but it
works well.

You may also create an update trigger, using an SQL command via the SQL
window, to cast all input to upper case before it is written into the
data field - for any relational database engine used by Base, including
the embedded HSQLdb engine, the syntax varies a bit from engine to
engine however.


For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.