B
Brett
First some up front notes.
This routine (see below) works fine in my localhost, but crashes in on my
test server and in production with “No row at position 1â€. ALL are hitting
the SAME database, so the data is there.
Basically, I am creating dataviews on the fly to feed child grids (again,
see the code below). If I comment out, the filtering command, the test
system doesn’t crash anymore and I get child grids. Wrong data of course,
but I grids. I’ve seen a couple of posts that hint at a threading issue, but
nothing specific to my problem.
Here's the code:
--------------------------------
Protected Function GetVenuesInAreaOfPlay(ByVal iAreaOfPlayID As Integer) As
DataView
dvVenuesInAreaOfPlay.RowFilter = "AreaOfPlayID = " + iAreaOfPlayID.ToString
Return dvVenuesInAreaOfPlay
End Function
This routine (see below) works fine in my localhost, but crashes in on my
test server and in production with “No row at position 1â€. ALL are hitting
the SAME database, so the data is there.
Basically, I am creating dataviews on the fly to feed child grids (again,
see the code below). If I comment out, the filtering command, the test
system doesn’t crash anymore and I get child grids. Wrong data of course,
but I grids. I’ve seen a couple of posts that hint at a threading issue, but
nothing specific to my problem.
Here's the code:
--------------------------------
Protected Function GetVenuesInAreaOfPlay(ByVal iAreaOfPlayID As Integer) As
DataView
dvVenuesInAreaOfPlay.RowFilter = "AreaOfPlayID = " + iAreaOfPlayID.ToString
Return dvVenuesInAreaOfPlay
End Function