Turn Omnis system read only?

Geir Fjærli omnis at sunshinedata.com
Fri Aug 29 08:20:30 EDT 2014


Thanks folks.

Unfortunately I was wong. Mixing clients here, happens when you retire… Not my code anyway.

There is no central procedure here, so it would have to be done locally. Of course, taking care of the mission critical ones would probably be enough.

Geir :)

29. aug. 2014 kl. 13:53 skrev wizardcompserv at aol.com:

> 
> Hi
> 
> I think you will have to do this with your own procedure.
> 
> In my application I cannot set the database to 'read only' as when starting Omnis a message is displayed 'No access to database'.
> 
> You would also need to stop them from adding new records and deleting existing records.
> 
> 
> 
> Regards
> Wendy Osbaldestin
> Wizard Computer Services
> Tel: 01260271647
> Mobile: 07740541021
> Web Site: www.wizardcompserv.co.uk
> 
> 
> 
> -----Original Message-----
> From: Mike Matthews <omnis at lineal.co.uk>
> To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
> Sent: Fri, 29 Aug 2014 11:10
> Subject: Re: Turn Omnis system read only?
> 
> 
> I think you have it about right by using that 1 method to perform updates.  But 
> there us a $pref for cdrom access, not sure if it is only for Studio, and not 
> really sure what it does, but it sounds like it could work.
> 
> Mike
> 
> 
> 
> 
> Mike Matthews,
> Managing Director, SQLWorks Software Ltd
> 
> Tel: +44 (0)1271 375999
> 
> Email: mike.matthews at sqlworks.co.uk
> 
> Web: www.sqlworks.co.uk
> 
> SQLWorks replaces Sage, ACT!, Opera, Access, SAP
> 
> On 29 Aug 2014, at 11:00, Geir Fjærli <omnis at sunshinedata.com> wrote:
> 
>> This is good old Omnis 7 (classic) on Windows, using native datafiles.
>> 
>> A client has a customer that want to stop paying maintenance on their app, to 
> go to another system. They do however want the old system available for 
> reference. But as they are no longer paying, they should be restricted from 
> actively using the system.
>> 
>> So the question is: Is there anything that can be done (without changing code) 
> to stop them from updating the data file? I guess anything you set can be unset 
> if you have admin privileges.
>> 
>> Now I may be able to stop them in a centrally called procedure, luckily one is 
> called for most edits and inserts. Then I need to stop some other activities 
> too.
>> 
>> Anyone done something like this on a native Omnis app?
>> 
>> Geir :)_____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
> 
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> 
> 
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> 




More information about the omnisdev-en mailing list