hsqldb 2.28 or 2.30 Beta and Autovalue ID's
Posted: Sat Jun 22, 2013 11:39 pm
The attractions of autovalue in split mode for ID fields via the GUI is much appreciated in 2.3, although it has always been available via sql , has anyone discovered any bugs making it difficult to settle with 2.30.
I wizarded both, far too late last evening, and apart from the descriptive filenames from DACM tutorial wondered how, after changing the names to something more personal perhaps, I would be able to version the hsql to remind myself which version I am using, and indeed how to update to a newer compatible version when applicable??? or even, heaven forbid, need to revert to the earlier version without a fresh install
I note that field editability is still only available for the table creation session, thereafter they revert to 'grayed out' so hanging on to a populated data set later when you may need to edit a fields properties (say simply increase the length of a text field) is not all summer sailing' since cutting and re-pasting the offending field seems to destroy its data. With 1.8 Embedded this was not a problem as the field properties are always editable (within reason) ID fields not so straightforward
Any GUI suggestions to achieve this??? or need we revert to a sql alter table.
One tiny aside related to all thisSolveig pointed out how to make the cursor auto appear in the first form field by setting auto control focus (ACF) which must be done in design mode (despite the icon active and toggling meaninglessly in data mode). Make sure the first field is not ID(entity) and/or Read Only because the cursor will still land in that field (also meaninglessly) for the first record only, thereafter it omits it. Also similarly strange, if you are browsing/editing existing records whose first tab is an editable one containing data, the cursor now appears beginning of the first tab of the first record, ready to prepend data but at the end of ALL subequent tabs ie. in overtype mode. I can't see anything in FPDB (form properties Dialog) or CPDB although analyse SQL command (NO) makes the form read only (may be a bug) Its somehow as if the first tab is set before the form is actually built.So is ACF effectively a SQL property or a GUI property???
Any 'fix' ideas welcome,
I wizarded both, far too late last evening, and apart from the descriptive filenames from DACM tutorial wondered how, after changing the names to something more personal perhaps, I would be able to version the hsql to remind myself which version I am using, and indeed how to update to a newer compatible version when applicable??? or even, heaven forbid, need to revert to the earlier version without a fresh install
I note that field editability is still only available for the table creation session, thereafter they revert to 'grayed out' so hanging on to a populated data set later when you may need to edit a fields properties (say simply increase the length of a text field) is not all summer sailing' since cutting and re-pasting the offending field seems to destroy its data. With 1.8 Embedded this was not a problem as the field properties are always editable (within reason) ID fields not so straightforward
Any GUI suggestions to achieve this??? or need we revert to a sql alter table.
One tiny aside related to all thisSolveig pointed out how to make the cursor auto appear in the first form field by setting auto control focus (ACF) which must be done in design mode (despite the icon active and toggling meaninglessly in data mode). Make sure the first field is not ID(entity) and/or Read Only because the cursor will still land in that field (also meaninglessly) for the first record only, thereafter it omits it. Also similarly strange, if you are browsing/editing existing records whose first tab is an editable one containing data, the cursor now appears beginning of the first tab of the first record, ready to prepend data but at the end of ALL subequent tabs ie. in overtype mode. I can't see anything in FPDB (form properties Dialog) or CPDB although analyse SQL command (NO) makes the form read only (may be a bug) Its somehow as if the first tab is set before the form is actually built.So is ACF effectively a SQL property or a GUI property???
Any 'fix' ideas welcome,