Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread TDBAdvGrid
Mon, Oct 13 2008 2:01 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Any of you lot using the TMS DBgrid? I have a significant problem and I want to find out if its just me.

Roy Lambert
Mon, Oct 13 2008 5:23 PMPermanent Link

Michael Thompson
I use it in most of my applications.


Roy Lambert <roy.lambert@skynet.co.uk> wrote:

Any of you lot using the TMS DBgrid? I have a significant problem and I want to find out if its just me.

Roy Lambert
Tue, Oct 14 2008 4:12 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Michael


Brilliant. The situation is this:

I have a rather complex app I'm developing. A number of the forms are inherited. The chain goes

Base - Has a TAdvFormStyler, TElasticForm and sets the font
BaseN - Adds a TadvGroupbox, 6 TAdvGlowbuttons, a TDBAdvGrid (CorC) and a few homebrews
BaseNP - Adds a TAdvOfficePager
user visible form - adds lots of components depending on form

The problem is with CorC the TDBAdvGrid. I have DatasetType = dsNonSequenced, DatasetTypeAuto = False, PageMode = True

The forms are sometimes opened with a filter set on the table linked to CorC, and when the filter means insufficient records to fill the grid and I start typing in a control or just click a button to set the table into edit mode I get the whole table displayed. As soon as I cancel or post the edit I'm back to just the filtered records. I tried setting CorC.Enabled to false but it still displays all records.

Ripping CorC off an dumping it on a testbed and it works as expected so I'll be trying adding in the inheritance trail over the next few days to see if I can produce a demo. I just wanted to know if anyone else has weirdos like this?

Roy Lambert

ps Tim sorry for posting here but I wanted to keep it to the ElevateDB community.
Tue, Oct 14 2008 4:41 PMPermanent Link

Michael Thompson
Roy,

I did have a simular situation. I'm going to have to look at the project to remember how I got around it. I'll let you know.

Michael


Roy Lambert <roy.lambert@skynet.co.uk> wrote:

Michael


Brilliant. The situation is this:

I have a rather complex app I'm developing. A number of the forms are inherited. The chain goes

Base - Has a TAdvFormStyler, TElasticForm and sets the font
BaseN - Adds a TadvGroupbox, 6 TAdvGlowbuttons, a TDBAdvGrid (CorC) and a few homebrews
BaseNP - Adds a TAdvOfficePager
user visible form - adds lots of components depending on form

The problem is with CorC the TDBAdvGrid. I have DatasetType = dsNonSequenced, DatasetTypeAuto = False, PageMode = True

The forms are sometimes opened with a filter set on the table linked to CorC, and when the filter means insufficient records to fill the grid and I
start typing in a control or just click a button to set the table into edit mode I get the whole table displayed. As soon as I cancel or post the edit
I'm back to just the filtered records. I tried setting CorC.Enabled to false but it still displays all records.

Ripping CorC off an dumping it on a testbed and it works as expected so I'll be trying adding in the inheritance trail over the next few days to see
if I can produce a demo. I just wanted to know if anyone else has weirdos like this?

Roy Lambert

ps Tim sorry for posting here but I wanted to keep it to the ElevateDB community.
Wed, Oct 15 2008 2:38 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Michael


Thanks.

Roy Lambert
Sat, Oct 18 2008 7:14 PMPermanent Link

Michael Thompson
Roy,

I looked at my code and it is not your problem, I thought it was. I was having problems with DBlookupcombo in a dbgrid causing filtering
problems. But as I said it turned out not to be the same problem as yours. Sorry.

Michael

Roy Lambert <roy.lambert@skynet.co.uk> wrote:

Michael


Thanks.

Roy Lambert
Sun, Oct 19 2008 4:10 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Michael


Thanks for looking, its currently on my "to be sorted" pile

Roy Lambert
Image