Re: Structure to TEXT files... GitHub

2018-10-16 Thread Robert ListMail via 4D_Tech
So, could this structure data not be used to create a new 4D database?  Can it 
be imported back into 4D…?

Thanks,

Robert

> On Oct 16, 2018, at 6:26 PM, Timothy Penner via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> It's in v17 R3
> https://blog.4d.com/text-files-from-your-structure-file/ 
> 
> 
> -Tim

**
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: Structure to TEXT files... GitHub

2018-10-16 Thread Robert ListMail via 4D_Tech
Hi Dani, yes, thanks for the reminder. I think I used your product once before. 
As I recall only methods are exported and that some resources that fully define 
the structure are not represented, do I have that right?  It looks like v17R3 
will export forms and all other resources. 

R

Sent from my iPhone

> On Oct 16, 2018, at 8:34 PM, Dani Beaubien 
>  wrote:
> 
> You can also use my free Code Analysis component. There are versions of the 
> component that work with 4D v12 and on. The code export works very well. You 
> can also use it to do a direct comparison from your structure to a previously 
> exported methods.

**
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: Structure to TEXT files... GitHub

2018-10-16 Thread Dani Beaubien via 4D_Tech
You can also use my free Code Analysis component. There are versions of the 
component that work with 4D v12 and on. The code export works very well. You 
can also use it to do a direct comparison from your structure to a previously 
exported methods.

It is possible to export the forms to json. The only downside with that I added 
that piece a few years back and I invented my own json scheme. It is not the 
same as what 4D v17 supports.

Here is a link to get more information and to download:
http://openroaddevelopment.com/projects_4dComponent_CodeAnalysis.html

Dani Beaubien
Open Road Development


> On Oct 16, 2018, at 5:26 PM, Robert ListMail via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Okay, I just found the answer—super-cool!!!
> 
> From the blog: "All of the above scenarios are now possible! Beginning with 
> v17 R3, you can export the .4DB file into multiple text files. This offers 
> you many new possibilities."
> 
> Text files from your structure file – 4D Blog
>> https://blog.4d.com/text-files-from-your-structure-file/ 
>> 
> 
> Robert
> 
>> On Oct 16, 2018, at 6:18 PM, Robert ListMail via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> Can you explain how to export my entire source code as shown in this video 
>> by “4D Software”? I don’t seem to have this command in 4D v17R2 or 15.6.
>> 
>> Export your structure file in multiple text files - YouTube
>>> https://www.youtube.com/watch?v=nQlO9bbKNJc=1s 
>>>  
>>> >> >
> 
> **
> 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
**

Re: Built Server—Best Practices...

2018-10-16 Thread Keisuke Miyako via 4D_Tech
to restore local backup settings

(because the backup settings file is always located inside the application's 
preferences folder)

I wrote this

https://github.com/miyako/4d-utility-backup-dialog

to get/set all settings as a single object (object notation required).

I have a similar solution for building too (not published yet)

for one thing, the standard GUI does not expose all possible keys.

http://doc.4d.com/4Dv17R2/4D/17-R2.1720/4D-XML-Keys-BuildApplication.100-3929018.en.html

also you might want better error handling.
also you might want to run a sequence of builds using different settings.


**
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: Custom Object Libraries crash 4D V16.4

2018-10-16 Thread Chuck Miller via 4D_Tech
I think there is 32 bit windows server as well

Regards

Chuck 

Sent from my iPhone

> On Oct 16, 2018, at 5:29 PM, Julio Carneiro via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Well, this is on Windows, so server is 64-bit and client is 32-bit. No other 
> options.
> 
>> On Oct 16, 2018, at 6:14 PM, Charles Miller via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> have you tried 32 and 64 bit versions of 16. If so do both crash
>> 
>> If both do not crash, perhaps that will lead to something helpful
>> 
>> Regards
>> Chuck
>> 
>> On Tue, Oct 16, 2018 at 3:50 PM Julio Carneiro via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
>> 
>>> Does anyone here use, or have used, Custom Object Libraries? in V16? is
>>> that broken in V16?
>>> 
>>> It works fine for me in V12! But in V16, 4D crashes whenever I try to use
>>> a item from Custom Object Library, while trying to edit a User Form.
>>> At first I thought it might be the fact that the Library was originally
>>> created in V12, so I created a new one in V16, and it still crashes.
>>> 
>>> This is a built 4D C/S. But even 4D standalone source crashes on drag &
>>> drop. If I copy an object from a Library and paste into a form, it works.
>>> But only in source. Built C/S crashes no matter how I try to use a
>>> Library's objects. Drag & drop or copy/paste, 4D Client always crashes!
>>> 
>>> To verify it I created a brand new structure and it crashes as well. When
>>> I try to drag & drop a item from the Library to a brand new Form!!
>>> 
>>> Has anyone seen that? Any workaround?
>>> 
>>> TIA
>>> --
>>> Julio Carneiro
>>> jjfo...@gmail.com
>>> 
>>> PS: did a quick search on the NUG and Forum, but found nothing related to
>>> COL, in fact I found no mention of anything lated to those Libraries, as if
>>> non one actually uses that feature!
>>> 
>>> 
> 
> --
> Julio Carneiro
> jjfo...@gmail.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 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: Structure to TEXT files... GitHub

2018-10-16 Thread Timothy Penner via 4D_Tech
> I don’t seem to have this command in 4D v17R2 or 15.6.

It's in v17 R3
https://blog.4d.com/text-files-from-your-structure-file/

-Tim



**
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: Structure to TEXT files... GitHub

2018-10-16 Thread Robert ListMail via 4D_Tech
Okay, I just found the answer—super-cool!!!

From the blog: "All of the above scenarios are now possible! Beginning with v17 
R3, you can export the .4DB file into multiple text files. This offers you many 
new possibilities."

Text files from your structure file – 4D Blog
> https://blog.4d.com/text-files-from-your-structure-file/ 
> 

Robert

> On Oct 16, 2018, at 6:18 PM, Robert ListMail via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Can you explain how to export my entire source code as shown in this video by 
> “4D Software”? I don’t seem to have this command in 4D v17R2 or 15.6.
> 
> Export your structure file in multiple text files - YouTube
>> https://www.youtube.com/watch?v=nQlO9bbKNJc=1s 
>>  
>> > >

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

Structure to TEXT files... GitHub

2018-10-16 Thread Robert ListMail via 4D_Tech
Can you explain how to export my entire source code as shown in this video by 
“4D Software”? I don’t seem to have this command in 4D v17R2 or 15.6.

Export your structure file in multiple text files - YouTube
> https://www.youtube.com/watch?v=nQlO9bbKNJc=1s 
> 

Thanks,

Robert
**
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: Built Server—Best Practices...

2018-10-16 Thread Robert ListMail via 4D_Tech
Thanked Kirk, Tim & Tim! :)  This is what I thought you guys might say….

So, do you use the XML to do the build or the standard GUI?

R

> On Oct 16, 2018, at 2:39 PM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> The “Best Practice” is to do what 4D TS says 

**
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: Custom Object Libraries crash 4D V16.4

2018-10-16 Thread Julio Carneiro via 4D_Tech
Well, this is on Windows, so server is 64-bit and client is 32-bit. No other 
options.

> On Oct 16, 2018, at 6:14 PM, Charles Miller via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> have you tried 32 and 64 bit versions of 16. If so do both crash
> 
> If both do not crash, perhaps that will lead to something helpful
> 
> Regards
> Chuck
> 
> On Tue, Oct 16, 2018 at 3:50 PM Julio Carneiro via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> Does anyone here use, or have used, Custom Object Libraries? in V16? is
>> that broken in V16?
>> 
>> It works fine for me in V12! But in V16, 4D crashes whenever I try to use
>> a item from Custom Object Library, while trying to edit a User Form.
>> At first I thought it might be the fact that the Library was originally
>> created in V12, so I created a new one in V16, and it still crashes.
>> 
>> This is a built 4D C/S. But even 4D standalone source crashes on drag &
>> drop. If I copy an object from a Library and paste into a form, it works.
>> But only in source. Built C/S crashes no matter how I try to use a
>> Library's objects. Drag & drop or copy/paste, 4D Client always crashes!
>> 
>> To verify it I created a brand new structure and it crashes as well. When
>> I try to drag & drop a item from the Library to a brand new Form!!
>> 
>> Has anyone seen that? Any workaround?
>> 
>> TIA
>> --
>> Julio Carneiro
>> jjfo...@gmail.com
>> 
>> PS: did a quick search on the NUG and Forum, but found nothing related to
>> COL, in fact I found no mention of anything lated to those Libraries, as if
>> non one actually uses that feature!
>> 
>> 

--
Julio Carneiro
jjfo...@gmail.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: Custom Object Libraries crash 4D V16.4

2018-10-16 Thread Charles Miller via 4D_Tech
have you tried 32 and 64 bit versions of 16. If so do both crash

If both do not crash, perhaps that will lead to something helpful

Regards
Chuck

On Tue, Oct 16, 2018 at 3:50 PM Julio Carneiro via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Does anyone here use, or have used, Custom Object Libraries? in V16? is
> that broken in V16?
>
> It works fine for me in V12! But in V16, 4D crashes whenever I try to use
> a item from Custom Object Library, while trying to edit a User Form.
> At first I thought it might be the fact that the Library was originally
> created in V12, so I created a new one in V16, and it still crashes.
>
> This is a built 4D C/S. But even 4D standalone source crashes on drag &
> drop. If I copy an object from a Library and paste into a form, it works.
> But only in source. Built C/S crashes no matter how I try to use a
> Library's objects. Drag & drop or copy/paste, 4D Client always crashes!
>
> To verify it I created a brand new structure and it crashes as well. When
> I try to drag & drop a item from the Library to a brand new Form!!
>
> Has anyone seen that? Any workaround?
>
> TIA
> --
> Julio Carneiro
> jjfo...@gmail.com
>
> PS: did a quick search on the NUG and Forum, but found nothing related to
> COL, in fact I found no mention of anything lated to those Libraries, as if
> non one actually uses that feature!
>
> **
> 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
> **



-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server 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.
**
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
**

Custom Object Libraries crash 4D V16.4

2018-10-16 Thread Julio Carneiro via 4D_Tech
Does anyone here use, or have used, Custom Object Libraries? in V16? is that 
broken in V16? 

It works fine for me in V12! But in V16, 4D crashes whenever I try to use a 
item from Custom Object Library, while trying to edit a User Form.
At first I thought it might be the fact that the Library was originally created 
in V12, so I created a new one in V16, and it still crashes.

This is a built 4D C/S. But even 4D standalone source crashes on drag & drop. 
If I copy an object from a Library and paste into a form, it works. But only in 
source. Built C/S crashes no matter how I try to use a Library's objects. Drag 
& drop or copy/paste, 4D Client always crashes! 

To verify it I created a brand new structure and it crashes as well. When I try 
to drag & drop a item from the Library to a brand new Form!!

Has anyone seen that? Any workaround?

TIA
--
Julio Carneiro
jjfo...@gmail.com

PS: did a quick search on the NUG and Forum, but found nothing related to COL, 
in fact I found no mention of anything lated to those Libraries, as if non one 
actually uses that feature!

**
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: Built Server—Best Practices...

2018-10-16 Thread Tim Nevels via 4D_Tech
On Oct 16, 2018, at 2:00 PM, Robert wrote:

> I recently started to use built client/server more often since I inherited a 
> client that was already doing that. I was told by another developer that when 
> doing a structure change that I can simply swap the .4DC file and I’m done. 
> 4D TS suggests that this is not wise and that I should probably use rsync or 
> simply supply the whole built client each time. So, what do you do?

Hi Robert,

The “Best Practice” is to do what 4D TS says — update the complete package and 
don’t fool with individual files. But I — and many others — live dangerously 
because we think we know what we are doing, are willing to suffer the 
consequences when we screw up and want to do a faster manual update of an 
application. 

If you know that all you have done since the last deploy is edit the .4DB in 
the Design environment adding and editing forms, methods and things in the Tool 
Box (excluding Resources) and the structure, then the only thing that will 
change when you do a build is the .4DC and .4DIndy. I have one client that I do 
this for constantly. Done it probably over 50 times over the years. Never a 
problem that I didn’t create by not following the above rule. 

I have another client that I NEVER do this for. I’ve got a very easy to use 
auto update system in place and it is actually easier and faster to just 
replace the complete application package with each update. (If I ever find the 
time and get motivated, I’ll create a system to do this for the first client.)

> Also, when building the built client/server do you use the 4D commands with 
> the XML project or do you use the GUI?
> 
> I was happily using the GUI and editing the engined server link file in the 
> client such that it points to the correctly deployed server as it defaults to 
> the local development server…..  However, I found another issue, the backup 
> settings and maybe the cache settings were not set on the deployed server 
> deliverable and I set these manually. How do you manage these settings?

I use a hybrid system. I first use the Build dialog to set everything that I 
can and then do a test build to prove that it works. Then I have a “Build 
Application” method that takes the BuildApp.xml file from the dialog and adds 
all the custom build keys that I need to do a deployment build. 

For backup settings, you have to find a way to copy the current “Backup.xml” 
file from the installed version to the new version. One way is to script that 
during the installation of the new version. Might be a way to automate creating 
this file during a build, but you would have to communicate with the running 4D 
Server somehow and extract the needed information and then manually build 
Backup.xml so that it was identical to the one on the server. Put that in the 
right location in the new version. 

Backup settings and the “Log” folder is one of the reasons why for the one 
client I just install the .4DC and .4Dindy. Then I don’t have to worry about 
copying these things from the old version to the new version. 

For cache settings just turn on the Database Settings -> User Settings on the 
machine and it takes care of itself.

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: Built Server—Best Practices...

2018-10-16 Thread Kirk Brooks via 4D_Tech
Robert,
I wouldn't presume to argue with Tim on best practices but will say I've
been doing those sorts of updates to my built server app for - years. I've
never has an issue that tracked back to it. Yet.

The main benefit is users don't have to wait through downloading a new set
of Resources/Components and Plugins after each update. Over HTTP this can
be a long slog.

The downside, which is why 4D recommends against it I suspect, if that it's
totally on you be sure there isn't some little thing in
Resources/Components/Plugins that may have changed and causes problems. If
the app builds successfully you know that everything in the database folder
is OK to work together.

However, with that said there may be a lot of little things in place on a
production server that have no relevance anywhere else. Or you can't really
duplicate. SSL certs, web folders, other kinds of configuration files.
Updating a server is not a small thing.

On Tue, Oct 16, 2018 at 10:44 AM Robert ListMail via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I recently started to use built client/server more often since I inherited
> a client that was already doing that. I was told by another developer that
> when doing a structure change that I can simply swap the .4DC file and I’m
> done. 4D TS suggests that this is not wise and that I should probably use
> rsync or simply supply the whole built client each time. So, what do you do?
>
> Also, when building the built client/server do you use the 4D commands
> with the XML project or do you use the GUI?
>
> I was happily using the GUI and editing the engined server link file in
> the client such that it points to the correctly deployed server as it
> defaults to the local development server…..  However, I found another
> issue, the backup settings and maybe the cache settings were not set on the
> deployed server deliverable and I set these manually. How do you manage
> these settings?
>
> Thanks,
>
> Robert
> **
> 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
> **



-- 
Kirk Brooks
San Francisco, CA
===

*We go vote - they go home*
**
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: Built Server—Best Practices...

2018-10-16 Thread Timothy Penner via 4D_Tech
Just to clarify -

The suggestion from 4D Technical Support is to include 100% of the entire 
application package that is built by 4D. Typically this is done by archiving 
the application in a ZIP file or on a DMG and transferring the archive to the 
destination machine where it is unarchived. You can go a step further an use an 
installer also.

In a situation where there is limited bandwidth (if you feel that transferring 
the whole package is too much), then as an alternative you can try to use a 
product like RSYNC or ROBOCOPY. Using these 3rd party tools you can skip the 
files that are identical between the source and destination, and only transfer 
the files that are different. Typically doing a transfer in this way would 
include more than just the 4DC.

The overall goal of both approaches is to get the application to the 
destination machine in a way that makes it so that the files running on the 
destination machine match the files that were built.

-Tim

> However, I found another issue, the backup settings and maybe the cache 
> settings were not set on the deployed server deliverable and I set these 
> manually. How do you manage these settings?

Using "User Settings" allows you to manage the cache settings in an external 
file at the deployment site:
http://doc.4d.com/4Dv15/4D/15.6/Using-user-settings.300-3836796.en.html

However the backup settings are not included in user settings...  So you can 
manage the backup xml file as outline in the following tech tip:

Tech Tip: Retaining the Backup Settings when upgrading a merged application
http://kb.4d.com/assetid=77988

-Tim




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

Built Server—Best Practices...

2018-10-16 Thread Robert ListMail via 4D_Tech
I recently started to use built client/server more often since I inherited a 
client that was already doing that. I was told by another developer that when 
doing a structure change that I can simply swap the .4DC file and I’m done. 4D 
TS suggests that this is not wise and that I should probably use rsync or 
simply supply the whole built client each time. So, what do you do?

Also, when building the built client/server do you use the 4D commands with the 
XML project or do you use the GUI?

I was happily using the GUI and editing the engined server link file in the 
client such that it points to the correctly deployed server as it defaults to 
the local development server…..  However, I found another issue, the backup 
settings and maybe the cache settings were not set on the deployed server 
deliverable and I set these manually. How do you manage these settings?

Thanks,

Robert
**
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] Holy Geez! Boston Dynamics - Spot

2018-10-16 Thread Jeremy Roussak via 4D_Tech
Wow. Thanks for that, Chip.

Jeremy


> On 16 Oct 2018, at 16:04, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> ~15 min video
> https://www.youtube.com/watch?v=AO4In7d6X-c
> 
> Chip



**
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 do I turn it into a component or a database

2018-10-16 Thread Epperlein, Lutz (agendo) via 4D_Tech
Thomas changed the Readme some hours ago. And in fact there is mentioned the
version 4D V17R3.
And ...
> This is export only, you cannot directly import them.

As I (and others) already said ...

Regards
Lutz Epperlein


--  
Lutz Epperlein  
--
Agendo Gesellschaft für politische Planung mbH
Köpenicker Str. 9
10997 Berlin
http://www.agendo.de/
--


> -Original Message-
> From: Chip Scheide [mailto:4d_o...@pghrepository.org]
> Subject: RE: how do I turn it into a component or a database
> 
> I just DLed the two github libraries
> they are BOTH from v17r3
> 
> so the versioning/feature set maybe important
**
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] Holy Geez! Boston Dynamics - Spot

2018-10-16 Thread Chip Scheide via 4D_Tech
~15 min video
https://www.youtube.com/watch?v=AO4In7d6X-c

Chip
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
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: v13 - Why would a query fail to change current reocrd?

2018-10-16 Thread Chip Scheide via 4D_Tech
Pat,
Thanks!

this occurred to me last night, after I had gone home - of course  :)

And the answer is --YES-- there was/is a set query destination command.
I have it wrapped as part of a component for set management (Setutl).  
It was silently failing :(

Chip
On Tue, 16 Oct 2018 10:04:25 +0100, Pat Bensky via 4D_Tech wrote:
> Chip,
> You haven't got a SET QUERY DESTINATION somewhere have you?
> Pat
> 
> On Mon, 15 Oct 2018 at 23:24, Chip Scheide via 4D_Tech 
> <4d_tech@lists.4d.com>
> wrote:
> 
>> Background
>> - I use 2 tables to manage listboxes.
>> - I am on an entry form, which includes a selection listbox.
>> - I am trying to display, in a dialog (Mac so a type 34 sheet window),
>> a different listbox (array) to allow the user to make a selection.
>> 
>> before the below code executes, the current selection of
>> [listbox_table] reflects the definition for selection listbox
>> displaying on the current entry form (ID 1327).
>> 
>> I make this call : arylstbx_Setup ("lb_Display_Choices";"Choose_Item")
>> In the above call there are these lines of code:
>>   //gets base info for listbox description
>> QUERY([List_Box_Table];[List_Box_Table]Listbox_Name=$Listbox_Name;*)
>> QUERY([List_Box_Table]; & ;[List_Box_Table]Primary_Use=$Primary_Use)
>> 
>> $Listbox_Name = $1 = lb_Display_Choices
>> Primary_Use = $2 = Choose_Item
>> 
>> Results:
>> - after the Query, the current record has not changed!
>> - If I issue an Unload record (in debugger) before the query, no record
>> is loaded
>> - in 'user' environment' the same query locates, and loads a different
>> record (ID 1505).
>> 
>> State:
>> in transaction [Listbox_Table] is read only & Locked
>> all actions are occurring inside the same transaction.
>> 
>> My thoughts and attempts to resolve:
>> - entry form listbox was doing some sort of background query on
>> [listbox_table] during on display detail, so I set the listbox
>> invisible before opening the type 34 dialog window. -- no effect.
>> - I have put traces in the code for the listbox and the form  to see if
>> something is running and changing the selection of the [listbox_table]
>> table - noting is running.
>> - all of the code for the dialog is 'linear' to the entry form, i.e.
>> the dialog is opened inside the same process and same transaction so -
>> conceptually - no other code should be running to change the selection
>> in the [listbox_table]
>> - relations - only one relation, completely manual.
>> 
>> and ideas?
>> sorry for wall of text
>> 
>> Chip
>> ---
>> Gas is for washing parts
>> Alcohol is for drinkin'
>> Nitromethane is for racing
>> **
>> 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
>> **
> 
> 
> 
> -- 
> *
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *
> **
> 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
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
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 do I turn it into a component or a database

2018-10-16 Thread Chip Scheide via 4D_Tech
I just DLed the two github libraries
they are BOTH from v17r3

so the versioning/feature set maybe important

On Tue, 16 Oct 2018 09:30:54 +, Epperlein, Lutz (agendo) via 
4D_Tech wrote:
> @Pat: No, this is the wrong approach. Did you looked at the github 
> repositories? 
> The sources are contained in text files and the data of forms in json 
> files. 
> The only way I'm aware of is to import the methods manually or use a 
> component like https://github.com/elutz/vc-framework-v15. I don't 
> know how to import the forms. It seems this points to a new feature 
> in a future version of 4D.
> 
> Regards
> Lutz
> 
> 
> --  
> Lutz Epperlein  
> --
> Agendo Gesellschaft für politische Planung mbH
> Köpenicker Str. 9
> 10997 Berlin
> http://www.agendo.de/
> --
> 
> 
> 
> 
> 
>> -Original Message-
>> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Pat 
>> Bensky via
>> 4D_Tech
>> Subject: Re: how do I turn it into a component or a database
>> 
>> Axel,
>> 
>> See:
>> 
http://doc.4d.com/4Dv17R3/4D/17-R3/Compiled-structure-page.300-3961299.en.html
>> 
> **
> 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
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
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 do I turn it into a component or a database

2018-10-16 Thread Axel Kohlepp via 4D_Tech

Hello,

please look at:

https://github.com/ThomasMaul/UserMode_Component

https://github.com/ThomasMaul/Tools_TM_export

there is nothing to compile ?!

Best regards,

Axel Kohlepp


Pat Bensky schrieb:

Axel,

See:
http://doc.4d.com/4Dv17R3/4D/17-R3/Compiled-structure-page.300-3961299.en.html

On Tue, 16 Oct 2018 at 00:06, Axel Kohlepp via 4D_Tech 
<4d_tech@lists.4d.com > wrote:


Hello,

I found the following things:

https://github.com/ThomasMaul/UserMode_Component

https://github.com/ThomasMaul/Tools_TM_export

But how do I turn it into a component or a database ?

Best regards

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

**



--
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*


**
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: v13 - Why would a query fail to change current reocrd?

2018-10-16 Thread Pat Bensky via 4D_Tech
Chip,
You haven't got a SET QUERY DESTINATION somewhere have you?
Pat

On Mon, 15 Oct 2018 at 23:24, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Background
> - I use 2 tables to manage listboxes.
> - I am on an entry form, which includes a selection listbox.
> - I am trying to display, in a dialog (Mac so a type 34 sheet window),
> a different listbox (array) to allow the user to make a selection.
>
> before the below code executes, the current selection of
> [listbox_table] reflects the definition for selection listbox
> displaying on the current entry form (ID 1327).
>
> I make this call : arylstbx_Setup ("lb_Display_Choices";"Choose_Item")
> In the above call there are these lines of code:
>   //gets base info for listbox description
> QUERY([List_Box_Table];[List_Box_Table]Listbox_Name=$Listbox_Name;*)
> QUERY([List_Box_Table]; & ;[List_Box_Table]Primary_Use=$Primary_Use)
>
> $Listbox_Name = $1 = lb_Display_Choices
> Primary_Use = $2 = Choose_Item
>
> Results:
> - after the Query, the current record has not changed!
> - If I issue an Unload record (in debugger) before the query, no record
> is loaded
> - in 'user' environment' the same query locates, and loads a different
> record (ID 1505).
>
> State:
> in transaction [Listbox_Table] is read only & Locked
> all actions are occurring inside the same transaction.
>
> My thoughts and attempts to resolve:
> - entry form listbox was doing some sort of background query on
> [listbox_table] during on display detail, so I set the listbox
> invisible before opening the type 34 dialog window. -- no effect.
> - I have put traces in the code for the listbox and the form  to see if
> something is running and changing the selection of the [listbox_table]
> table - noting is running.
> - all of the code for the dialog is 'linear' to the entry form, i.e.
> the dialog is opened inside the same process and same transaction so -
> conceptually - no other code should be running to change the selection
> in the [listbox_table]
> - relations - only one relation, completely manual.
>
> and ideas?
> sorry for wall of text
>
> Chip
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing
> **
> 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
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
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 do I turn it into a component or a database

2018-10-16 Thread Pat Bensky via 4D_Tech
Axel,

See:
http://doc.4d.com/4Dv17R3/4D/17-R3/Compiled-structure-page.300-3961299.en.html

On Tue, 16 Oct 2018 at 00:06, Axel Kohlepp via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hello,
>
> I found the following things:
>
> https://github.com/ThomasMaul/UserMode_Component
>
> https://github.com/ThomasMaul/Tools_TM_export
>
> But how do I turn it into a component or a database ?
>
> Best regards
>
> Axel Kohlepp
> **
> 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
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
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: Elementary question - solved

2018-10-16 Thread Jeremy Roussak via 4D_Tech
I have discovered that if I change the names of the shortcut files so that they 
match exactly those of the component databases to which they point, 4D 
recognises and follows them. This involved deleting “ - shortcut” from each 
name.

Odd.

Jeremy


> On 13 Oct 2018, at 12:01, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I usually work on a Mac. I have to develop one application in 4D on a Windows 
> machine. It’s already up and working on the Mac. 
> 
> On my Mac, I can put aliases to a few of my components, which I use 
> frequently, in the Components folder of the 4D application. They’re then 
> available to any 4D project I’m working on.
> 
> Is there an equivalent under Windows? I’ve tried creating shortcuts and 
> putting them in the Components folder next to the 4D application, but 4D 
> doesn’t see them or the methods they contain.
> 
> 4Dv17, Windows 8.1 (under VirtualBox on the Mac, in case it makes any 
> difference).
> 
> Thanks in advance
> 
> Jeremy


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