Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Update a Grid when bound Dataset Changes
Tue, Apr 28 2015 11:17 PMPermanent Link

Alan Questell

Richmond Community College

In EWB 1, when a grid was bound to a Dataset, I would change a parameter in a Dataset, Database.Load(theDataset)  to get the new records, and then update the grid like this:

myGrid.Dataset := 'nil';
myGird.Dataset := 'theDataset';   // grid re-bound to updated dataset to refresh

In EWB 2, this always throws an error...

Uncaught Error: Cannot read property 'tdataset_frowno' of null

Line: 17038.

Is there a better way of doing this?
Wed, Apr 29 2015 5:13 AMPermanent Link

Walter Matte

Tactical Business Corporation


Alan:

In EWB 1 - I refresh the dataset and the data redisplays without having to set the Dataset to nil;

This could be a bug.

Walter
Wed, Apr 29 2015 6:33 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Alan,

<< In EWB 2, this always throws an error...

Uncaught Error: Cannot read property 'tdataset_frowno' of null >>

This is fixed for the final release.

Tim Young
Elevate Software
www.elevatesoft.com
Image