FillDataTable returning no records cause an error


Author
Message
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
I have changed a section of my code recently where I have a this.FillDataTable(loCommand);  Now , in some scenarios, this returns no records.  This has now caused an error saying currentRowIndex is out of range. I traced this to the get method in the Business Object column.

Why I am I geting this error and what do I need to do to avoid it. I realise it is something to do with zero records being returned
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search