Subject | Dynamic Accessrights and Scrolling |
---|---|
Author | guido.klapperich@t-online.de |
Post date | 2002-03-03T00:25Z |
I have to set the accessrights for some columns of a query dynamicly for
each record. Therefore I have in the AfterScroll-Event of the query
something like this:
MyQuery.FieldByName('Name').PreventEditing:=MyCondition;
MyQuery.FieldByName('Name').PreventInserting:=MyCondition;
But this slows the scrolling in the dataset extremly down. Exists a
faster way to achieve the same ?
Guido
each record. Therefore I have in the AfterScroll-Event of the query
something like this:
MyQuery.FieldByName('Name').PreventEditing:=MyCondition;
MyQuery.FieldByName('Name').PreventInserting:=MyCondition;
But this slows the scrolling in the dataset extremly down. Exists a
faster way to achieve the same ?
Guido