Клубове Дир.бг
powered by diri.bg
търси в Клубове diri.bg Разширено търсене

Вход
Име
Парола

Клубове
Dir.bg
Взаимопомощ
Горещи теми
Компютри и Интернет
Контакти
Култура и изкуство
Мнения
Наука
Политика, Свят
Спорт
Техника
Градове
Религия и мистика
Фен клубове
Хоби, Развлечения
Общества
Я, архивите са живи
Клубове Дирене Регистрация Кой е тук Въпроси Списък Купувам / Продавам 04:54 14.06.24 
Клубове/ Компютри и Интернет / Delphi Всички теми Следваща тема Пълен преглед*
Информация за клуба
Тема Re: Za i protiv lookup fields. [re: gydi]
Автор PhantomASМодератор (стар ерген®)
Публикувано11.09.02 17:31  



Това за показването - не разбрах какво точно искаш да знаеш - имах предвид да се ограничава коли4еството на показваната информация

А за look-up кеширането - 4ети малко хелпа де
----------------------------------------------------
Determines whether the values of a lookup field are cached or looked up dynamically every time the current record in the dataset changes.

Delphi syntax:

property LookupCache: Boolean;

C++ syntax:

__property bool LookupCache = {read=FLookupCache, write=SetLookupCache, default=0};

Description

Set LookupCache to true to cache the values of a lookup field when the LookupDataSet is unlikely to change and the number of distinct lookup values is small. Caching lookup values can speed performance, because the lookup values for every set of LookupKeyFields values are preloaded when the DataSet is opened. When the current record in the DataSet changes, the field object can locate its Value in the cache, rather than accessing the LookupDataSet. This performance improvement is especially dramatic if the LookupDataSet is on a network where access is slow.

If every record of DataSet has different values for KeyFields, the overhead of locating values in the cache can be greater than any performance benefit provided by the cache. The overhead of locating values in the cache increases with the number of distinct values that can be taken by KeyFields.

If LookupDataSet is volatile, caching lookup values can lead to inaccurate results. Call RefreshLookupList to update the values in the lookup cache. RefreshLookupList regenerates the LookupList property, which contains the value of the LookupResultField for every set of LookupKeyFields values.

When setting LookupCache at runtime, call RefreshLookupList to initialize the cache.

Note: LookupCache is only meaningful if the value of FieldKind is fkLookup.

---
Е т'ва е живот!


Цялата тема
ТемаАвторПубликувано
* Za i protiv lookup fields. unknown   11.09.02 10:03
. * Re: Za i protiv lookup fields. PhantomAS   11.09.02 11:15
. * Re: Za i protiv lookup fields. gydi   11.09.02 15:56
. * Re: Za i protiv lookup fields. PhantomAS   11.09.02 17:31
. * Re: Za i protiv lookup fields. gydi   11.09.02 18:52
. * Re: Za i protiv lookup fields. PhantomAS   12.09.02 09:38
Клуб :  


Clubs.dir.bg е форум за дискусии. Dir.bg не носи отговорност за съдържанието и достоверността на публикуваните в дискусиите материали.

Никаква част от съдържанието на тази страница не може да бъде репродуцирана, записвана или предавана под каквато и да е форма или по какъвто и да е повод без писменото съгласие на Dir.bg
За Забележки, коментари и предложения ползвайте формата за Обратна връзка | Мобилна версия | Потребителско споразумение
© 2006-2024 Dir.bg Всички права запазени.