on 05-01-2012 9:52 AM
Hi All,
Is it possible to get the state of a DeskI report whether it is opened or closed?
I could not find any property to the state of the document. I would like to know if the document is already opened. If not, need to refresh and save else need to display a message Document is accessed by another user.
I have written a custom program to automate the change process for DeskI reports. In this multiple users can run the program and if the same report is being accessed by these programs from multiple machines, report is getting corrupted and creating an another report with'~' appended to the report name.
If I can get the state of the report and if it is opened by one of the programs, then other programs will be skipped accessing the report and there can overcome the report getting corrupted.
Please provide your valuable inputs if this is possible.
Thanks
Naresh
As Adam said, you will not find a status that tells you a report is being edited.
That said, you can easily store the edited report cuids in a file or db table and have your custom program check upon that table to make sure the file is not already in use.
just make sure you add and remove the file or db entry when your custom app starts or exits 😉
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is nothing in the report properties that will tell you that this report is currently opened by another user. If you need to control this, you need to come up with your own way of controlling concurrency to the report.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.