@ivanyuzafatau
Active 4 years, 2 months ago-
ivanyuzafatau started the topic Filter limits in the forum kbmMemTable 5 years, 1 month ago
Hi everyone!
Faced the following problem.kbmMemTable1.Filter := 'EmpNo in (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51)';
kbmMemTable1.Filtered := True;It works well.
kbmMemTable1.Filter := 'EmpNo in…[Read more] -
ivanyuzafatau replied to the topic Strange behavior with IndexName in kbmMemTable v. 7.85.00 in the forum kbmMemTable 5 years, 1 month ago
I’ve done some research with the new version. I tried creating a custom named sorting index for the master table.
tMaster.AddIndex(‘Sort’, ‘Company’, [ixDescending]);
tMaster.IndexDefs.Update;
tMaster.IndexName := ‘Sort’;The sort works on the master table. The index name remains as I specified it.
But similar code for a detail table has the…[Read more]
-
ivanyuzafatau replied to the topic Strange behavior with IndexName in kbmMemTable v. 7.85.00 in the forum kbmMemTable 5 years, 1 month ago
For some reason, my previous comment is broken. I’ll try to add anew..
I’ve got one more question. I want to use my own index name. If I create and use a sorting index as follows:
kbmMemTable1.AddIndex(‘Sort’, ‘EmpNo’, [ixDescending]);
kbmMemTable1.IndexDefs.Update;
kbmMemTable1.IndexName := ‘Sort’;It also doesn’t work in kbmMemTable v.…[Read more]
-
ivanyuzafatau replied to the topic Strange behavior with IndexName in kbmMemTable v. 7.85.00 in the forum kbmMemTable 5 years, 2 months ago
Kim, Thank you for the answer!
<span class=”JLqJ4b ChMk0b” data-language-for-alternatives=”en” data-language-to-translate-into=”ru” data-phrase-index=”2″>I’ve got one more question. I want to use my own index name.</span> If I create and use a sorting index as follows:
kbmMemTable1.AddIndex(‘Sort’, ‘EmpNo’,…[Read more]
-
ivanyuzafatau changed their profile picture 5 years, 2 months ago
-
ivanyuzafatau replied to the topic Strange behavior with IndexName in kbmMemTable v. 7.85.00 in the forum kbmMemTable 5 years, 2 months ago
I will add to my question.
kbmMemTable1 is a detail table. tMaster is a master table.
tMaster.Active:=true;
kbmMemTable1.DetailFields:=’CustNo’;
kbmMemTable1.MasterSource:=dsMaster;
kbmMemTable1.MasterFields:=’CustNo’; -
ivanyuzafatau posted an update 5 years, 2 months ago
@markjones74f2ff545d Hello! May I ask you to reproduce my problem in version 7.18? Please see https://components4developers.blog/forums/topic/strange-behavior-with-indexname-in-kbmmemtable-v-7-85-00/
-
ivanyuzafatau started the topic Strange behavior with IndexName in kbmMemTable v. 7.85.00 in the forum kbmMemTable 5 years, 2 months ago
I am comparing two versions of the kbmMemTable component: 4.08b and 7.85.00.
I have a demo application in Delphi 7 using version 4.08b. I also have a demo application in Delphi 10.3 using version 7.85.00.
Both apps have tables with a master/detail relationship.
<span class=”JLqJ4b ChMk0b” data-language-for-alternatives=”en”…[Read more]
