Re: [off-ish] v17 or 18 - Exported forms

2020-03-11 Thread Chip Scheide via 4D_Tech
if you have ever used React - it HAS to be simpler  :)

> Yes, forms are exported in JSON format. In project mode, CSS files 
> are used for some of the style information.
> 
> Converting a form into something usable by a web browser is certainly 
> possible, but it will not be a small or simple project.
> 
> John DeSoi, Ph.D.
> 
> 
>> On Mar 11, 2020, at 3:22 PM, Chip Scheide via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> I have not done ANY work with v18, and only opened v17 once to 
>> quickly test an app's compatibility.
>> I understand that it is now possible to export forms in a manner 
>> which is compatible with a code repository/version control system.
>> 
>> If this is correct what is the format of the form data?
>> I assume it is text, and probably JSON... 
>> 
>> IF these 2 assumptions are true, is it (reasonable) to parse the son 
>> into html for direct rendering in a browser?
>> 
>> My end quest is to find some sort of functional GUI for form 
>> building that I can use for/with React/javascript without having to 
>> manually code very F-ing pixel placement.
> 
> **
> 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: 4D Summit Virtual?

2020-03-11 Thread Wayne Stewart via 4D_Tech
Hi,

Of course the French won’t be there now.

Wayne

On Thu, 12 Mar 2020 at 14:48, Neil Dennis via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> > We’re fine here in Chicago.  I’m still going.
>
> If they have it, I will come…
>
> Neil
>
> --
> **
> 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
> **

-- 

Regards,

Wayne
**
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: 4D Summit Virtual?

2020-03-11 Thread Neil Dennis via 4D_Tech
> We’re fine here in Chicago.  I’m still going.

If they have it, I will come… 

Neil

--
**
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: [off-ish] v17 or 18 - Exported forms

2020-03-11 Thread John DeSoi via 4D_Tech
Yes, forms are exported in JSON format. In project mode, CSS files are used for 
some of the style information.

Converting a form into something usable by a web browser is certainly possible, 
but it will not be a small or simple project.

John DeSoi, Ph.D.


> On Mar 11, 2020, at 3:22 PM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I have not done ANY work with v18, and only opened v17 once to quickly test 
> an app's compatibility.
> I understand that it is now possible to export forms in a manner which is 
> compatible with a code repository/version control system.
> 
> If this is correct what is the format of the form data?
> I assume it is text, and probably JSON... 
> 
> IF these 2 assumptions are true, is it (reasonable) to parse the son into 
> html for direct rendering in a browser?
> 
> My end quest is to find some sort of functional GUI for form building that I 
> can use for/with React/javascript without having to manually code very F-ing 
> pixel placement.

**
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: 4D Summit Virtual?

2020-03-11 Thread Randy Kaempen via 4D_Tech
We’re fine here in Chicago.  I’m still going.


Randy Kaempen
Intellex Corporation

> On Mar 11, 2020, at 8:36 PM, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Well, l'll gotta think the chances of 4D Summit happening in Chicago are 
> approaching nil now. Maybe there can be a virtual summit?
> 
> https://www.nytimes.com/2020/03/11/world/coronavirus-news.html
> 
> Tom Benedict
> **
> 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
> **
**
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
**

4D Summit Virtual?

2020-03-11 Thread Tom Benedict via 4D_Tech
Well, l'll gotta think the chances of 4D Summit happening in Chicago are 
approaching nil now. Maybe there can be a virtual summit?

https://www.nytimes.com/2020/03/11/world/coronavirus-news.html

Tom Benedict
**
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: How can one REDRAW a SUBFORM that uses a OBJECT as its 'variable or expression'?

2020-03-11 Thread Tim Nevels via 4D_Tech
On Mar 11, 2020, at 2:00 PM, Chris Belanger wrote:

> Thank you, Lahav. Worked.
> 
> Still don’t understand why REDRAW( ) doesn’t get a (*; OBJECT NAME) syntax 
> though …

Create your own command called “REDRAW_OBJECT($object_o)” and pass in an object 
reference. That’s what I have done. Then when you read the code later you know 
exactly what is going on. Assigning an object to itself does not immediately 
tell me what is happening and why it is being done. 

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
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 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
**

[off-ish] v17 or 18 - Exported forms

2020-03-11 Thread Chip Scheide via 4D_Tech
I have not done ANY work with v18, and only opened v17 once to quickly test an 
app's compatibility.
I understand that it is now possible to export forms in a manner which is 
compatible with a code repository/version control system.

If this is correct what is the format of the form data?
I assume it is text, and probably JSON... 

IF these 2 assumptions are true, is it (reasonable) to parse the son into html 
for direct rendering in a browser?

My end quest is to find some sort of functional GUI for form building that I 
can use for/with React/javascript without having to manually code very F-ing 
pixel placement.

maybe... the forms generated by Wakanda?

any help pointing me in the right direction would be appreciated.

THANKS in advance
Chip


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
**

Execute on client command - locking records

2020-03-11 Thread Janet Jonas via 4D_Tech
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 keeps records locked even if they are 
unloaded and set to read only. I am noticing this as I try to test new reports 
to print on a client that are saved into a report table. Consequently, I cannot 
tweak the report that I am using for printing because every report printed as a 
result of an "Execute on client" command locks that report permanently until I 
close the client machine. This is wasting a ton of my time. "Execute on server" 
will unload the records and does not seem to be doing this sort of 
unpredictable and unavoidable locking.

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
**