Subject | FieldsVisible Question |
---|---|
Author | lee@leeway-be.com |
Post date | 2001-03-09T13:24:56Z |
I have a Table with 150 fields.
For some grid's I only need 5 fields to be visible.
If I understand it correctly, I can , in a Prepare_Sql only change
the FieldsVisible parameter to 'False', I can set it to 'True' but
this hase no purpose since implicitly all fields are visible.
So implicitly all fields that are not 'False' will be visible.
Wich means that I have to set manually 145 fields to 'False'.
I really hope there is some other way to do this.
Is there a way to say in one statement that all fields are NOT
visible, so that I only have to put 5 fields to Visible ?
with FieldsVisible do begin
Values['NAME'] := 'F';
end;
Regards
Lee
For some grid's I only need 5 fields to be visible.
If I understand it correctly, I can , in a Prepare_Sql only change
the FieldsVisible parameter to 'False', I can set it to 'True' but
this hase no purpose since implicitly all fields are visible.
So implicitly all fields that are not 'False' will be visible.
Wich means that I have to set manually 145 fields to 'False'.
I really hope there is some other way to do this.
Is there a way to say in one statement that all fields are NOT
visible, so that I only have to put 5 fields to Visible ?
with FieldsVisible do begin
Values['NAME'] := 'F';
end;
Regards
Lee