Re: Execute on client command - locking records

2020-03-11 Thread Chip Scheide via 4D_Tech
maybe a method called before the user prints is doing something like:
Read only([table])
  print routine

Chip
> Thank you so much, Chuck! Changing the order of the commands did the 
> trick! I will be sure to remember this next time.
> 
> My server process does not end, but I am not using any print jobs on 
> it, and, oddly, normal users use the exact same printing code in 
> processes that do not end for a long time and do not end up locking 
> the file with the report formats, either. So, still offbeat behavior, 
> but I can live with it.
> 
> JJ
> 
>> OnWed, 11 Mar 2020 14:06:30 -0400, Chuck Miller 
>> > > wrote:
>> 
>> Remember you must have code in the following sequence
>> 
>> Unload record
>> read only
>> 
>> The reason it may be unlocking on server is that the process ends
>> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

Hell is other people 
 Jean-Paul Sartre
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Execute on client command - locking records

2020-03-11 Thread Janet Jonas via 4D_Tech
Thank you so much, Chuck! Changing the order of the commands did the trick! I 
will be sure to remember this next time.

My server process does not end, but I am not using any print jobs on it, and, 
oddly, normal users use the exact same printing code in processes that do not 
end for a long time and do not end up locking the file with the report formats, 
either. So, still offbeat behavior, but I can live with it.

JJ

> OnWed, 11 Mar 2020 14:06:30 -0400, Chuck Miller 
> mailto:cjmil...@informed-solutions.com>> 
> wrote:
> 
> Remember you must have code in the following sequence
> 
> Unload record
> read only
> 
> The reason it may be unlocking on server is that the process ends
> 

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Execute on client command - locking records

2020-03-11 Thread Chuck Miller via 4D_Tech
Remember you must have code in the following sequence

Unload record
read only

The reason it may be unlocking on server is that the process ends

Regards


Chuck

 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064   
 mailto:cjmillerinformed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D and Sybase connectivity
  http://www.informed-solutions.com  

This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication. 

> On Mar 11, 2020, at 11:29 AM, Janet Jonas via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I also forgot to note the 4D version - it is 17.4.
> 
> If I try to do the editing on the client machine, it reports that the record 
> is locked by the " Registered Client" process, so I am certain the issue 
> is in Execute on client.
> 
> JJ

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Execute on client command - locking records

2020-03-11 Thread Janet Jonas via 4D_Tech
I also forgot to note the 4D version - it is 17.4.

If I try to do the editing on the client machine, it reports that the record is 
locked by the " Registered Client" process, so I am certain the issue is in 
Execute on client.

JJ


> On Mar 11, 2020, at 8:25 AM, Spencer Hinsdale  wrote:
> 
> 
> 
> any chance In Transaction?
> 
>> On Mar 11, 2020, at 8:20 AM, Janet Jonas via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> I am running into an annoying bug with "Execute on client" functions. Even 
>> though I have put UNLOAD RECORD and READ ONLY commands into the methods that 
>> are executed there, the client process ke...

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Execute on client command - locking records

2020-03-11 Thread Spencer Hinsdale via 4D_Tech


any chance In Transaction?

> On Mar 11, 2020, at 8:20 AM, Janet Jonas via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I am running into an annoying bug with "Execute on client" functions. Even 
> though I have put UNLOAD RECORD and READ ONLY commands into the methods that 
> are executed there, the client process ke...
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**