Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: How to password protect the editing Post Reply Post New Topic
Author Message
ricky969
Groupie
Groupie
Avatar

Joined: 03 Jul 2008
Location: United States
Online Status: Offline
Posts: 53
Quote ricky969 Replybullet Topic: How to password protect the editing
    Posted: 15 Jan 2009 at 3:24pm
Hi all!
is there a way to restrict editing for a specific report (written using CR 9) so that the user can run but not modify the report?
Also, if the user trys to modify the report, is it possible to launch a pop-up message informing him that  modifying the report is not allowed?
Thanks so much
rick


Edited by ricky969 - 16 Jan 2009 at 11:48am
IP IP Logged
AntDC
Groupie
Groupie
Avatar

Joined: 23 Dec 2008
Online Status: Offline
Posts: 76
Quote AntDC Replybullet Posted: 16 Jan 2009 at 2:04am
Making a report, section, area, or object read-only
To make a report read-only
  1. On the File menu, select Report Options.
  2. Select Read-only.
To make a section or area read-only
  1. On the Report menu, select Section Expert.
  2. Select the section or area that you want to make read-only.
  3. On the Common tab, select Read-only.

    Note:    When a section is read-only, you can move it, cut it, and delete it, but you cannot make changes within the section. When an area is read-only, all sections in the area are read-only; therefore, you cannot insert another section, nor can you move, cut, or delete an existing section.

To make an object read-only
  1. Right-click the object you want to make read-only.
  2. On the shortcut menu, click Format Field.

    The Format Editor dialog box appears.

  3. On the Common tab, select Read-only.
IP IP Logged
ricky969
Groupie
Groupie
Avatar

Joined: 03 Jul 2008
Location: United States
Online Status: Offline
Posts: 53
Quote ricky969 Replybullet Posted: 16 Jan 2009 at 8:56am
Thanks for your suggestion. I thought about that too, however the user can still uncheck the "read-only" checkbox and make the changes.
I'm dealing with "regulated" reports that cannot be edited at all.
Our current applications are using encapsulation but we still have old vb apps where these rpt files are still editable. Any other suggestion?
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 16 Jan 2009 at 4:31pm
Unfortunately, AntDC gave all the options available. CR doesn't have the capability you are looking for built into the application.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
ricky969
Groupie
Groupie
Avatar

Joined: 03 Jul 2008
Location: United States
Online Status: Offline
Posts: 53
Quote ricky969 Replybullet Posted: 16 Jan 2009 at 4:39pm

Thank you very much Brian. I just needed to make sure that there were no other options before saying "not possible" to my boss. Thanks again for all your help.

IP IP Logged
AntDC
Groupie
Groupie
Avatar

Joined: 23 Dec 2008
Online Status: Offline
Posts: 76
Quote AntDC Replybullet Posted: 19 Jan 2009 at 1:23am
I suppose you could create a service application to constantly keep a look out for that options window and close it when ever it appears.

That is dirty though :)

DC
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.