View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006052 | JEDI VCL | 00 JVCL Components | public | 2012-12-25 09:07 | 2014-12-04 16:34 |
Reporter | AndrewTrohins | Assigned To | obones | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.47 | ||||
Target Version | Fixed in Version | ||||
Summary | 0006052: JVMemoryDataSet error 'No data found' with Bookmark | ||||
Description | If i use link JvMemoryData->DataSource->JvDBGrid, then exception 'No data found' generated on the second pass of cycle for (int i = 0 ; i < iC; i++) { DataSet->Bookmark = grd->SelectedRows->Items[i]; } The same error like in ticket 0006049. Example of code: DataSet->KeyFieldNames = "ID"; DataSet->Open(); const int TestCount = 2; for (int i = 0; i < TestCount; i++) { DataSet->Append(); DataSet->FieldValues["ID"] = i; DataSet->FieldValues["TITLE"] = "Test" + IntToStr(i); DataSet->Post(); } DataSet->ApplyChanges(); grd->SelectAll(); DataSet->DisableControls(); int iC = grd->SelectedRows->Count; for (int i = 0 ; i < iC; i++) { DataSet->Bookmark = grd->SelectedRows->Items[i]; //... } DataSet->EnableControls(); DataSet->Close(); Can you help me? | ||||
Tags | BCB | ||||
2012-12-25 09:07
|
TestJvMemDataSetBookMark.rar (83,545 bytes) |
|
I just tried with the latest GIT content, I cannot reproduce the issue. |
|
Assuming this is fixed |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-12-25 09:07 | AndrewTrohins | New Issue | |
2012-12-25 09:07 | AndrewTrohins | File Added: TestJvMemDataSetBookMark.rar | |
2013-01-15 16:08 | obones | Status | new => acknowledged |
2013-12-13 15:30 | obones | Relationship added | related to 0006041 |
2013-12-13 15:50 | obones | Tag Attached: BCB | |
2013-12-18 11:55 | obones | Note Added: 0020873 | |
2013-12-18 11:55 | obones | Status | acknowledged => feedback |
2014-12-04 16:34 | obones | Note Added: 0021122 | |
2014-12-04 16:34 | obones | Status | feedback => resolved |
2014-12-04 16:34 | obones | Resolution | open => fixed |
2014-12-04 16:34 | obones | Assigned To | => obones |