Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: DBGrid error in Berlin Update 1


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Last Post: Oct 18, 2016 2:52 AM Last Post By: Carlos Matos
Natkunasingam J...

Posts: 57
Registered: 3/5/00
DBGrid error in Berlin Update 1  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 10, 2016 8:57 AM
Put 2 forms in a VCL project.
Put a dbgrid in Form2 and create and show from Form1.
You will get Augment out of range error.
Come on Embt what is happening with this classic mature component?

Edited by: Natkunasingam Jeyakumar on Oct 10, 2016 8:59 AM
Achim Kalwa

Posts: 70
Registered: 10/22/99
Re: DBGrid error in Berlin Update 1 [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 11, 2016 4:38 AM   in response to: Natkunasingam J... in response to: Natkunasingam J...
Natkunasingam Jeyakumar wrote:

Put 2 forms in a VCL project.
Put a dbgrid in Form2 and create and show from Form1.
You will get Augment out of range error.
Come on Embt what is happening with this classic mature component?

Nice, isn't it?

Already reported as a bug:
https://quality.embarcadero.com/browse/RSP-15905

This only happens if the DBGrid does not contain any columns. As a
workaround you may add at least one column to the DBGrid. This column
could be later changed or removed by code.

Achim

Natkunasingam J...

Posts: 57
Registered: 3/5/00
Re: DBGrid error in Berlin Update 1 [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 11, 2016 9:02 AM   in response to: Achim Kalwa in response to: Achim Kalwa
Achim Kalwa wrote:
Natkunasingam Jeyakumar wrote:

Put 2 forms in a VCL project.
Put a dbgrid in Form2 and create and show from Form1.
You will get Augment out of range error.
Come on Embt what is happening with this classic mature component?

Nice, isn't it?

Already reported as a bug:
https://quality.embarcadero.com/browse/RSP-15905

This only happens if the DBGrid does not contain any columns. As a
workaround you may add at least one column to the DBGrid. This column
could be later changed or removed by code.

Achim


Hi Achim,

I appreciate your interest in solve my issue and for the workaround you suggested. It works.

Regards,
Jey
Carlos Matos

Posts: 114
Registered: 6/25/01
Re: DBGrid error in Berlin Update 1 [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 18, 2016 2:52 AM   in response to: Achim Kalwa in response to: Achim Kalwa
Achim Kalwa wrote:
Natkunasingam Jeyakumar wrote:

Put 2 forms in a VCL project.
Put a dbgrid in Form2 and create and show from Form1.
You will get Augment out of range error.
Come on Embt what is happening with this classic mature component?

Nice, isn't it?

Already reported as a bug:
https://quality.embarcadero.com/browse/RSP-15905

This only happens if the DBGrid does not contain any columns. As a
workaround you may add at least one column to the DBGrid. This column
could be later changed or removed by code.

Achim


This is not True. I have a DBGrid with 8 columns and when showing the form, the error is raised.
This happens if I have the Options dgAlwaysShowEditor set to true in designtime.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02