View Issue Details

IDProjectCategoryView StatusLast Update
0006041JEDI VCL00 JVCL Componentspublic2020-05-19 10:01
ReporterAndrewTrohinsAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.47 
Target VersionFixed in VersionDaily / GIT 
Summary0006041: JvMemoryData SortOnFields don't work
DescriptionHello.
This code doesn't work:

DataSet->KeyFieldNames = "ID";
DataSet->Open();
DataSet->Append();
DataSet->FieldValues["ID"] = 1;
DataSet->FieldValues["TITLE"] = "Test";
DataSet->Post();
DataSet->SortOnFields("TITLE",true,false);

After SortOnFields there's exception: 'No data found'
There's TDBGrid, which shows dta in DataSet(TJvMemoryData). If I delete link of DataSource on DataSet it work's without exception.

Thanks.
Additional InformationI use C++ Builder XE3, JVCL has revision 13479.
TagsBCB

Relationships

has duplicate 0006049 resolvedobones JvMemoryData.SortOnFields error 'No data found' when JvMemoryData linking with DBGrid 
related to 0006052 resolvedobones JVMemoryDataSet error 'No data found' with Bookmark 

Activities

2012-12-03 13:19

 

TestJvMemoryData.rar (82,980 bytes)

obones

2013-12-18 14:04

administrator   ~0020875

Please try again with the latest GIT content, I cannot reproduce the issue

2014-04-16 17:52

 

TestNoData.zip (88,941 bytes)

bazilio

2014-04-16 17:53

reporter   ~0020947

I tried it with latest 3.48 version. Previous test case works well. But my atteched test case fail with the same message 'No data found'.

obones

2015-09-14 17:50

administrator   ~0021204

That example does not crash with the latest GIT content

obones

2020-05-19 10:01

administrator   ~0021894

No reply in a timely manner, assuming this is fixed

Issue History

Date Modified Username Field Change
2012-12-03 13:19 AndrewTrohins New Issue
2012-12-03 13:19 AndrewTrohins File Added: TestJvMemoryData.rar
2013-01-15 16:03 obones Status new => acknowledged
2013-12-13 15:29 obones Relationship added has duplicate 0006049
2013-12-13 15:30 obones Relationship added related to 0006052
2013-12-13 15:50 obones Tag Attached: BCB
2013-12-18 14:04 obones Note Added: 0020875
2013-12-18 14:04 obones Status acknowledged => feedback
2014-04-16 17:52 bazilio File Added: TestNoData.zip
2014-04-16 17:53 bazilio Note Added: 0020947
2014-12-04 16:34 obones Status feedback => acknowledged
2015-09-14 17:50 obones Note Added: 0021204
2015-09-14 17:50 obones Status acknowledged => feedback
2020-05-19 10:01 obones Assigned To => obones
2020-05-19 10:01 obones Status feedback => resolved
2020-05-19 10:01 obones Resolution open => fixed
2020-05-19 10:01 obones Fixed in Version => Daily / GIT
2020-05-19 10:01 obones Note Added: 0021894