Feature #50

unlimited number of columns in SqlControls.Control

Added by J. Templ about 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:05/21/2015
Priority:NormalDue date:
Assignee:J. Templ% Done:

0%

Category:-
Target version:1.7
Forum topic:

Description

BB 1.6 has a limit of 40 columns for tables used to display the result of SQL queries.
This limit results from fixed size arrays used internally.
The limit is too low and allocating the arrays dynamically would
avoid the limit completely. A proposal by Josef Templ for fixing
this issue exists in CPC 1.7 rc5.

Reported By Josef Templ, 2008-03-08.

Refers to CPC 1.7 change list number 24.
Refers to Open Points #09.

Associated revisions

Revision 0a46b95d
Added by J. Templ about 4 years ago

limit of 40 columns removed. Refs: #50.
As proposed by Josef Templ in CPC 1.7 rc5.

Signed-off-by: Josef Templ <>

Revision fd3db3f3
Added by J. Templ almost 4 years ago

Merge pull request #37 from BlackBoxCenter/issue-#50

limit of 40 columns removed. Refs: #50.

Revision 31c768a4
Added by J. Templ almost 4 years ago

ResizeTable added in Restore. Refs: #50.
Conceptually based on a proposal by Helmut Zinn in CPC 1.7 rc6.
Plus support for loading a table with 0 columns, which used to generate a TRAP before
because NEW cannot allocate an array with 0 elements.

Signed-off-by: Josef Templ <>

Revision db8af087
Added by J. Templ almost 4 years ago

bug fix in Table:Restore. Refs: #50.
ResizeTable renamed to Expand because it can only expand.

Signed-off-by: Josef Templ <>

Revision 204ee246
Added by J. Templ almost 4 years ago

cleanup in bug fix in Table:Restore. Refs: #50.
plus another bug fix in CheckPos that already existed in BB1.6.
It was possible to select a field right of the rightmost column due to rounding effects.

Signed-off-by: Josef Templ <>

Revision 85e50491
Added by J. Templ almost 4 years ago

Merge pull request #46 from BlackBoxCenter/issue-#50

Refs: #50.

Revision 26d772a7
Added by J. Templ over 3 years ago

bug fixes in SqlControls.CheckPos. Refs: #50.
It was still possible to generate a TRAP when the mouse was right from the table.
It was also possible to select a field after the last row. This latter bug probably also existed in BB1.6.

Signed-off-by: Josef Templ <>

Revision a6e57ac0
Added by J. Templ over 3 years ago

Merge pull request #75 from BlackBoxCenter/issue-#50

bug fixes in SqlControls.CheckPos. Refs: #50.

History

#1 Updated by J. Templ about 4 years ago

  • Subject changed from unlimited number of table columns to unlimited number of columns in SqlControls.Control
  • Description updated (diff)

#2 Updated by J. Templ almost 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF