[Kexi] Auto Field understanding

Jaroslaw Staniek js at iidea.pl
Thu Nov 3 11:46:30 CET 2005


Karsten Schwager wrote:

> Hallo, 
> 
> I don't have any idea what's the Auto Field box in the formdesigner is 
> for.

It's a special data widget that adopts itself to database field's data 
type you're assigning to it. For example, assigning text type will 
change it autmatically to text box. Assigning integer type will change 
it to "spin box". Future types will be also: combo box and image box.

Some other features:
- text label is displayed automatically on the left (or top) hand (can 
be hidden); the text is the same as field's caption or name defined in 
the Table Designer.
- ability to widget set type by hand

The main advantage of the AutoField is that you don't need to think 
about insert proper data widget for a field you want to present on your 
form.

You don't need to remember to set all properties of the widget to refect 
field's properties (in the future there will be more such properties, 
eg. validation rule, text format, length).

Last, if you've changed properties of your table field or query column 
in Table Designer/Query Designer, your AutoField widgets will be updated 
automatically when you open your form again.

-- 
regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska / Kexi Team

  Developers Wanted! http://www.kexi-project.org
  KDElibs/Win http://wiki.kde.org/tiki-index.php?page=KDElibs+for+win32



More information about the Kexi mailing list