Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Bases";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

Use QuantumGrid Find similar branches


olban   (2001-12-05 11:07) [0]

Help me, please, solve the following problem. I am using this grid with the LoadAllRecords option. I am interested in the following questions
1. Why does it overload the entire table every time a record is changed in the DataSet?
2. How to catch the moment when the table is completely overloaded?

And one more question for the company
Any DataSet after editing the record, whether we choose Post or Cancel, recalculates all calculated fields (for all records). Can this somehow be changed, i.e. do recalculation for only one modified record?

Thanks for the help!



Юрий Жуков   (2001-12-05 12:12) [1]

> You can somehow change this, i.e. to recount only for one> modified record?

Maybe it’s worth keeping, for example, a List with calculated values, and substituting and calculating what is needed in the calculated field?

I used a TStringList which has a Values ​​property, and I searched for it. The calculated field was the result of a request from the server. For my ass, this was enough with my head. Naturally, the record changed; I calculated only one value.




olban   (2001-12-05 12:40) [2]

Maybe there will be more options?



Deniz   (2001-12-05 15:40) [3]

Set a global variable - a link to the PC (GlobalID).
Next onCalcFields
if <PC> = GlobalID then begin Your calculated fields. end;
Moreover, with Cancel, you can specify a nonexistent ID.



Pages: 1 whole branch

Forum: "Bases";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top





Memory: 0.55 MB
Time: 0.022 c
1-22134
Rosco
2001-12-15 12:54
2002.01.08
And this is already there?


1-22065
Victor
2001-12-19 07:30
2002.01.08
about webbrowser


1-22190
T2
2001-12-14 03:22
2002.01.08
KillSelf


6-22296
Kolyan
2001-10-11 12:49
2002.01.08
TSocket!


6-22293
Dark_Dan
2001-10-02 18:09
2002.01.08
Sockets must die !!!!!!!





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Spanish swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada Khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish