Getting the workstation name for a locked record

2019-01-23 Thread Jeffrey Kain via 4D_Tech
We have a bunch of dedicated job clients that all log in to 4D with the same username. When a locked record occurs (I'm using LOCKED BY), I want to display the workstation name that's holding the lock... is there a way to get this, other than to assign each workstation a unique username? Jeff

Re: Getting the workstation name for a locked record

2019-01-23 Thread Tom Benedict via 4D_Tech
Hi Jeff, You can get the accountName and machineName from the Get system info command. Would that help? Tom > On Jan 23, 2019, at 11:43, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > We have a bunch of dedicated job clients that all log in to 4D with the same > username. When

SDI on WIndows doesnt respect a toolbar

2019-01-23 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I am testing the SDI interface on Windows with 4Dv17 64-bit. I am happy to get rid of the gray background, however, the windows now don't respect the use of a toolbar anymore I can maximize the windows, and the titlebar gets under the toolbar, so no way to move or close the window anymore.

Re: Socket Communication

2019-01-23 Thread spiffyguy via 4D_Tech
Hi everyone, Just wanted to followup and let you know that I am on the schedule for the next 4DMethod webinar session on March 13th where I will present my component and go through the "why" and especially the "how" with examples and benefits. https://4dmethod.com/schedule/ Thanks Brent for

Sort messes up Listbox selection when in a transaction

2019-01-23 Thread Pat Bensky via 4D_Tech
Using v17r3, Mac: I have a listbox that displays a selection of records from the [ListItems] table, which are related to a record in the [Lists] table. User can select an item in the list and click the Delete button to delete a [ListItem] record. The code that runs: *USE SET*("ListboxSet0")

Re: listbox commands and collection variables

2019-01-23 Thread Kirk Brooks via 4D_Tech
Hey John, I'm not able to replicate all of the issues you mention with a collection based listbox. To test I made a form and added a collection based listbox with two columns. To open it I made a method, created a collection with 10 elements comprised of objects and had the listbox displace the

Re: Getting the workstation name for a locked record

2019-01-23 Thread Ben Kershaw via 4D_Tech
Jeffrey Kain wrote: >We have a bunch of dedicated job clients that all log in to 4D with the same >username. When a locked record occurs (I'm using LOCKED BY), >I want to display the workstation name that's holding the lock... is there a >way to get this, other than to assign each workstation a

Re: Getting the workstation name for a locked record

2019-01-23 Thread Keisuke Miyako via 4D_Tech
Get locked records info (since 14R3) is a superior alternative to LOCKED BY https://doc.4d.com/4Dv17/4D/17/Get-locked-records-info.301-3730190.en.html easy to display the info in a collection listbox (This[attr]), given that the info is already an object collection (in info.records).

Re: SDI on WIndows doesnt respect a toolbar

2019-01-23 Thread Keisuke Miyako via 4D_Tech
I am not a great fan of toolbars, but... I think you can move them around with the mouse (shift+control+left button+right button) in case of emergency (same with window type 2=modal) 2019/01/23 21:43、Piotr Chabot Stadhouders via 4D_Tech <4d_tech@lists.4d.com>のメール:

Re: listbox commands and collection variables

2019-01-23 Thread John DeSoi via 4D_Tech
Hi Kirk, > I'm not able to replicate all of the issues you mention with a collection > based listbox. To test I made a form and added a collection based listbox > with two columns. To open it I made a method, created a collection with 10 > elements comprised of objects and had the listbox

Re: listbox commands and collection variables

2019-01-23 Thread Kirk Brooks via 4D_Tech
John, On Wed, Jan 23, 2019 at 6:31 PM John DeSoi via 4D_Tech <4d_tech@lists.4d.com> wrote: > $1 is a pointer to the collection listbox variable and the debugger shows > it has 10 elements. The object name on the form is the same as the variable > name. If I execute it with the name, $hdrVars has