mortenm
11/23/2005 7:05:00 AM
Hi Yves,
Perhaps you could lock or hide the ranges when you add them to the query?
QueryBuildRange range;
;
range = this.query().dataSourceNo(1).addRange(fieldNum(..., ...));
range.status(RangeStatus::Locked);
range.status(RangeStatus::Hidden);
Regards,
Morten Mile
"Yves S" wrote:
> I have created a form based on a table which contains figures and users
> should see only somes lines according to their profils.
> With the Executivequery method, I made filters but of course user could
> modify it
>
> So I have to disable the filter icon in a form.
>
> I have found a post which explain that we could use
> "formQuery.userUpdate(false)" but I am not able to use it.
> Is anybody could explain me how to do it.
> An example of code will be helpful and where I should place the code.
>
> Thank you for your help.
>