Re: Tags in record on 4d.

2017-05-19 Thread Koen Van Hooreweghe via 4D_Tech
Hi Eric, I think an object field is what you are looking for. HTH Koen Op 19-mei-2017, om 16:25 heeft Eric Naujock via 4D_Tech <4d_tech@lists.4d.com> het volgende geschreven: > Has anybody come up with a good way add tags records in a table? > > For instance I have a table of contacts, but I

Tags in record on 4d.

2017-05-19 Thread Eric Naujock via 4D_Tech
Has anybody come up with a good way add tags records in a table? For instance I have a table of contacts, but I would like to be able to tags them with labels and then be able to filter on those labels. Kind of like the usage of tags in osx. In this case I would like to be able to add tags

Re: Tags in record on 4d.

2017-05-19 Thread Guy Algot via 4D_Tech
Eric, I’ve used this for years and called it Keywords. A separate related table stores the Contact Key and the Keyword. You can search on the Keywords and then relate that selection to Contacts. This was before objects. But like Koen said, objects would work as well. Depends on how flexible

Re: How to trap a form save keystroke in an object method ?

2017-05-19 Thread Chuck Miller via 4D_Tech
How about disabling the button until all values are OK. This when you enter a variable or field on form disable and when you exit enable only if pass. Regards Chuck Chuck Miller Voice: (617)

Re: V16 on OSX Application licence

2017-05-19 Thread Chuck Miller via 4D_Tech
You will have to go to system preferences as admin, change to allow any program (only for a moment). Launch new application. If it launches quit Change your preferences back. The next time you launch all should be well I do not think you can easily change to identified app as those come from the

RE: V16 on OSX Application licence

2017-05-19 Thread Timothy Penner via 4D_Tech
Hi Nigel, If "the application can't be opened" because of the unidentified developer, you can usually bypass this by right-clicking on the application and choosing "Open" or by moving the application to the root of the /Applications/ folder (i.e. /Applications/YourApp.app). However the best

V16 on OSX Application licence

2017-05-19 Thread Nigel Greenlee via 4D_Tech
Hi I am building a small application for internal deployment in a company. I am trying to deploy using the unlimited desktop(partner programme). However when i try to launch that application on OSX it will not launch- just a message “The application …can’t be opened" After a bit of head

What prevents Web Server from Starting?

2017-05-19 Thread Randy Engle via 4D_Tech
I think I must be going bonkers I can start the 4D Web Server with 5 data files, all exact same structure. However, in 1 data file, can't start it, in any fashion, using command or menu item in design. Tried different ports, etc. No workie Go back to one of the other data files, works

Re: Tags in record on 4d.

2017-05-19 Thread Kirk Brooks via 4D_Tech
I'll just add you don't actually need to put the keywords in a separate table anymore. You can add a text field to your table. Populate the field with the keywords (or tags) using a space as the delimiter. Then set that field to have a keyword index and query it using the keyword operator. I've

Re: Include in Log File Scan

2017-05-19 Thread Cannon Smith via 4D_Tech
Hi Arnaud, That works like a charm! Thank you very much. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On May 19, 2017, at 2:44 PM, Arnaud de Montard via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > See here: >

Re: Primary key contains duplicate values

2017-05-19 Thread Douglas von Roeder via 4D_Tech
I'm hitting the same issue that Gary ran into though I'm trying to convert a 2004 data file to run agains the V15.4 structure file. I added PK's using the code from Bob Miller's Summit presentation (many thanks for a superb presentation Bob!) so I'm comfortable that the PK's are done right. The

Re: V16 on OSX Application licence

2017-05-19 Thread Chuck Miller via 4D_Tech
Perhaps I am remembering older versions, but it often asks if I want to open the first time I launch Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064

Re: Exploring CALL WORKER vs New process

2017-05-19 Thread Keith Culotta via 4D_Tech
> On May 18, 2017, at 5:38 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > * Workers don't die when their work is done, they wait. A method called by New Process $w:=Open Form Window("ShowRecord") Dialog("ShowRecord") ExitCode A method called by CALL WORKER $w:=Open

Re: V16 on OSX Application licence

2017-05-19 Thread Tim Nevels via 4D_Tech
> On May 19, 2017, at 10:54 PM, Chuck Miller wrote: > > If that is so easy, why does 4D itself not do this On macOS when you sign an app it embeds the developer info in the app and it does some kind of checksum on the app to verify it is not tampered with and virus infected. So it is not

Re: V16 on OSX Application licence

2017-05-19 Thread Chuck Miller via 4D_Tech
If that is so easy, why does 4D itself not do this Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:cjmillerinformed-solutions.com

Include in Log File Scan

2017-05-19 Thread Cannon Smith via 4D_Tech
I’d like to programmatically loop through all the tables in a database and see whether they have the “Include in Log File” property set. Does anyone know of a way to do this? Thanks. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236

Re: Tags in record on 4d.

2017-05-19 Thread Keith Culotta via 4D_Tech
I have used Text fields and have considered using Objects for that kind of storage, but they both give me a hint of that old Subtable feeling. The data is buried in a field within a record. Objects have some tools to help with this, and it's easier to build a complex tag structure. A related

RE: What prevents Web Server from Starting?

2017-05-19 Thread Randy Engle via 4D_Tech
As per usual, I was being a meatball. Figured it out egg on my face. ;-) Randy Engle XC2 Software LLC *** ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Re: V16 on OSX Application licence

2017-05-19 Thread David Porter via 4D_Tech
Been there, done that, it is not easy. Tim was a great help to me when I was struggling to get this sorted out. He knows what he is talking about. Dave Porter Tailored Solutions, Inc. Business Management Software for Label Converters > On May 19, 2017, at 2:12 PM, Chuck Miller via 4D_Tech

Re: V16 on OSX Application licence

2017-05-19 Thread Timothy Penner via 4D_Tech
Hi Chuck, > If that is so easy, why does 4D itself not do this What do you mean? The apps and DMGs released by 4D are signed with our private certificate. However the apps you build are not signed unless you acquire and add your certificate to the BUILD APPLICATION dialog. -Tim

RE: V16 on OSX Application license

2017-05-19 Thread Timothy Penner via 4D_Tech
Hi Steve, App signing in 4D is for Mac only. It is accomplished via a XML key in the project file: http://doc.4d.com/4Dv16/4D/16/SignApplication.201-3130130.en.html You cannot sign the windows exe with this feature, sorry. -Tim On May 19, 2017 1:31 PM, "Stephen J. Orth"

Re: Include in Log File Scan

2017-05-19 Thread Arnaud de Montard via 4D_Tech
> Le 19 mai 2017 à 21:12, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > I’d like to programmatically loop through all the tables in a database and > see whether they have the “Include in Log File” property set. Does anyone > know of a way to do this? See here:

RE: What prevents Web Server from Starting?

2017-05-19 Thread Randy Engle via 4D_Tech
Just to make things interesting: I tried this: OK:=0 WEB START SERVER ` OK = 1 !!! But doesn't actually seem to be running. Randy Engle XC2 Software LLC -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Randy Engle via 4D_Tech Sent: Friday, May

RE: Disable close button on Splash screen windows v12

2017-05-19 Thread truegold via 4D_Tech
Hi Tim, Ok, will experiment and see how ti works out. I will then need to suppress and 4D dialog and handle it programmatically. Thanks for the help, John... > Hi John, > > I just ran some quick tests and I think the most likely scenario here is that > you still need to assign a password to

RE: V16 on OSX Application license

2017-05-19 Thread Stephen J. Orth via 4D_Tech
Tim, I apologize as I have not been following this thread, but noticed something interesting in your response. Are you saying we can sign our builds? If so, is there a way to accomplish this if your building procedurally and not using the BUILD APPLICATION dialog? We sign our installer EXE

Re: What prevents Web Server from Starting?

2017-05-19 Thread David Adams via 4D_Tech
No, no, no! The preferred response when you finally figure out a @$@#$%# stupid mistake is to mutter under your breath, "Darn 4D bugs!" If another programmer is nearby to hear you, that much the better. ;-) ** 4D Internet Users

Re: Exploring CALL WORKER vs New process

2017-05-19 Thread David Adams via 4D_Tech
> A method called by CALL WORKER > $w:=Open Form Window("ShowRecord") > Dialog("ShowRecord";*) > So this is why when using CALL WORKER, the Dialog(*) windows hang around after the method has been exited. > This means moving the process ExitCode from the lines after Dialog into a form's "On

RE: V16 on OSX Application licence

2017-05-19 Thread Timothy Penner via 4D_Tech
Hi Chuck, > > > If that is so easy, why does 4D itself not do this . > > What do you mean? > > The apps and DMGs released by 4D are signed with our private certificate. > > However the apps you build are not signed unless you acquire and add your > > certificate to the BUILD APPLICATION dialog.

Re: Primary key contains duplicate values

2017-05-19 Thread Ronald Rosell via 4D_Tech
I ran into this on a conversion once. Turned out, I was using a Sequence Number field as the PK field, and somewhere along the way some code had been introduced that led to duplicates. Usually this was because records were being created by multiple methods, and one of them was doing it

Re: V15.4 & Shy Server Syndrome?

2017-05-19 Thread Douglas von Roeder via 4D_Tech
Tim: "99.% of all 4D bugs are self-inflicted" A code change lead to code running on the server that should not have: SET WINDOW RECT(-20;-20;-10;-10) Thanks for your suggestion. And *another* ticket gets closed… -- Douglas von Roeder 949-336-2902 On Thu, May 18, 2017 at 4:08 PM,

RE: V15.4 & Shy Server Syndrome?

2017-05-19 Thread Timothy Penner via 4D_Tech
Awesome! Thanks for the update, glad to hear it is all sorted out now. -Tim ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: