Re: Object visualize / browse

2017-04-22 Thread Jody Bevan via 4D_Tech
David: We started our new shell with v15. Now on v16.3 as we continue creating it. The very first thing we built (Ok Adam built all our object code), was our object tools. He built in dot notation into all the tools. We were used to the power of ObjectTools. Then he built our Object Viewer.

Re: zipping files

2017-07-29 Thread Jody Bevan via 4D_Tech
tps://www.facebook.com/ArgusProductions/> > On Jul 27, 2017, at 5:06 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > what happens if you replace tokenised constants with their literal values? > >> 2017/07/28 6:24、Jody Bevan via 4D_Tech <4d_tech@li

Re: zipping files - Solved

2017-07-29 Thread Jody Bevan via 4D_Tech
So I took a day off to move someone, and a good night sleep. Started out testing - not working. Then put the debug hat on again to test my inputs. Yah - saw it without testing. I tacked a time string on the file name. Yup you already guessed it - left the colon in the time string! ARH!!! Stupid

Re: zipping files

2017-07-29 Thread Jody Bevan via 4D_Tech
Matthias: I delete the plugin file I was using. I then put in the plugin that is located within the structure package I was using that it worked. I restarted 4D and application. Same result as before. Head scratcher. Jody Bevan ARGUS Productions Inc. Developer Argus Productions Inc.

Re: Encrypted Data at Rest

2017-08-03 Thread Jody Bevan via 4D_Tech
Richard: Hardware acceleration in the CPU is still not nearly as fast as this task being done by the drive controller. All software runs through the CPU. Yes, the CPU can support specific types of code which helps. Just like GPUs, the advanced support in the drive controllers makes a big

Re: External data storage question

2017-08-03 Thread Jody Bevan via 4D_Tech
John: We did this big time long before 4D permitted it autosaving the ‘picture’ outside of the data file that they looked after. Therefore we had to look after the saving, and when loading up the form we had to look after retrieving the ‘picture’ as well. It sounds like you have done almost

Re: How to show / hide all on Property List in v16?

2017-08-14 Thread Jody Bevan via 4D_Tech
I didn’t know about this shortcut either. Never tried it before - or now. > On Aug 14, 2017, at 3:06 PM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Never knew about this shortcut... > > -- > Jeffrey Kain > jeffrey.k...@gmail.com > > On Aug 14, 2017, at 5:04 PM, Kirk Brooks

Re: What exactly is the scope of the On err call between 4D server & Client?

2017-07-07 Thread Jody Bevan via 4D_Tech
On Error Call is process based. Therefore each process needs to call it. Sincerely Jody Bevan > On Jul 7, 2017, at 16:45, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I think I know the answer to this but think I'll ask anyway. > > When my server starts up in installs an error

Re: C-objects and memory use

2017-07-25 Thread Jody Bevan via 4D_Tech
> On Jul 25, 2017, at 9:53 AM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > But I guess the alternative is managing your objects yourself which most > people wouldn't like. Except for some of us oldtimers that are anal. Jody Bevan ARGUS Productions Inc. Developer Argus

LOG File TO JSON - How does it name the files

2017-07-25 Thread Jody Bevan via 4D_Tech
I am continuing to create a full featured Audit trail system using 4D Backup Journal file. It is coming along nicely with a viewer telling me it’s progress, and running in a Preemptive Process. Without having to create huge amounts of data to import I am not going to get the JSON file that is

Re: C-objects and memory use

2017-07-25 Thread Jody Bevan via 4D_Tech
I would like that objects created in a specific way could be accessed by worker methods. We store so many settings it is somewhat of a pain to not be able to use them like we do everywhere else. I have not tried this ‘feature’ and until it is a documented feature I likely will not try it. From

Re: Bug with Open Document on macOS Sierra

2017-07-26 Thread Jody Bevan via 4D_Tech
David: Log files - love them too. Saved huge amounts of time to debug code (at least all the bugs I create ;-) ) In our shell I am trying to stay away from plugins - what we and others do with the shell for specific projects after that does not matter. What I have done for logs thus far in

Re: C-objects and memory use

2017-07-26 Thread Jody Bevan via 4D_Tech
I understand the documentation issue - I just posted yesterday about a hole in the documentation. Having done a lot of documentation (still doing it), and being the person in charge of all operations I can understand that things fall between the cracks. What would be nice though is that there

Re: LOG File TO JSON - How does it name the files

2017-07-26 Thread Jody Bevan via 4D_Tech
the size to "1" and see for yourself: > > $path:=System folder(Desktop) > LOG FILE TO JSON($path;1) > > I got > > JournalExport.json > JournalExport2.json > ... > JournalExport10.json > > so there is not underscore. > >> 2017/07/26 7:09、

Re: User activity

2017-07-26 Thread Jody Bevan via 4D_Tech
Ferdinand: In another ‘life’ we had several thousand users on Remote Desktop to 4D client. The problem usually was that their connection to the client server was broken (internet problems). They really liked that they could reconnect and their was their work. Therefore we didn’t worry about

Re: User activity

2017-07-26 Thread Jody Bevan via 4D_Tech
Ferdinando: Yes, we always found that too where people have long ago quit out of Remote Desktop, but not 4D. Many users just do not understand the differences. All they know is that the application is no longer on their screen. We would find this when we went to do maintenance on their server

Re: C-objects and memory use

2017-07-26 Thread Jody Bevan via 4D_Tech
David: You could very well be right. I don’t get to see behind the curtain to have even a hint. It is the same with all aspects of a company. Jonoke became ISO 9001 certified, and we became better each year in communication with our users. Because the person at the top thought these things

Audit Trail

2017-07-19 Thread Jody Bevan via 4D_Tech
We have written full audit trails with previous applications. They are not simple to ensure everything gets audited, and everything recorded, and then be able to display any record at a point in time. I like the new command LOG FILE to JSON that was added in v15R4. It seems like a great

Re: Modal dialog dilemma

2017-06-29 Thread Jody Bevan via 4D_Tech
am expecting about the June 2018 timeline. Jody > On Jun 29, 2017, at 12:21 AM, Robert ListMail via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Wow Jody—impressive! So, when does your new shell go on sale? :) > > Robert > > Sent from my iPhone > >> O

Corrupted index and likely record - which Record(s)

2017-07-05 Thread Jody Bevan via 4D_Tech
I think the terrible power where I live got my data file. It has been corrupted in a way that crashes the application 100% of the time. I have gone to backups, but even old backups seem to have the same problem - strange they ran fine for months. Deleting the Index file and recreating does not

Re: Encrypted Data at Rest

2017-08-02 Thread Jody Bevan via 4D_Tech
Justin: That is a requirement of Health Care Systems in Canada for more than 15 years. It is actually a good idea. Fortunately there is an ‘easy’ way to do it and it does not take once ounce of programming (not good for billable hours). The clients purchase the drive controllers and drives (if

Re: Encrypted Data at Rest

2017-08-02 Thread Jody Bevan via 4D_Tech
Chip: Even longer than the hardware/firmware solutions there has been software to do this. The performance hit is substantial though. I remember testing out a software solution about 15 years ago with a compiled standalone version of our application. Essentially with these they intercept the

Re: JSON Tools Was: Re: C-objects and memory use

2017-08-02 Thread Jody Bevan via 4D_Tech
David: Of your four options I choose #1. ;-) Jody Bevan ARGUS Productions Inc. Developer Argus Productions Inc. > On Aug 2, 2017, at 11:34 AM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > > Without compile-time verification

​Re: Preventing Duplicate Data REAL WORLD

2017-08-08 Thread Jody Bevan via 4D_Tech
I thought I would share this real world experience in regard to data, as it is somewhat humorous, but not for the people in the back seat. Long long ago, in another country, I was a police member patrolling the downtown streets of a city in economic boom circumstances. There were lots and lots

Re: Preventing Duplicate Data WAS UUID vs Longint primary key

2017-08-08 Thread Jody Bevan via 4D_Tech
Chip: I have always tried doing at the point of data entry. Obviously no code is perfect, and either is the object between the keyboard and the chair. My experience is that few Administrators would take the time to filter through duplicates. Getting them to do system maintenance was almost

Re: Preventing Duplicate Data WAS UUID vs Longint primary key

2017-08-07 Thread Jody Bevan via 4D_Tech
John: Thanks for sharing this. I had not thought of this way after all these years. I will take the idea and apply where appropriate, in addition to my normal code to reduce duplicates. Jody Bevan ARGUS Productions Inc. Developer Argus Productions Inc.

Re: External data storage question

2017-08-05 Thread Jody Bevan via 4D_Tech
Tim: Thanks for posting this. I was totally unaware of this - probably started in my brief hiatus from programming. This is exactly what I was asking for a couple of weeks here. I will use this for my documentation now, and add in a few comments from time to time. Jody Bevan ARGUS Productions

zipping files

2017-07-27 Thread Jody Bevan via 4D_Tech
I have looked through the Knowledgebase, and past nug posts. I tried PHP to do this but got no where (something obviously I am doing). I ended up (thus far) with miyako’s 4D plugin for zipping. I go into his test db and try it out and it works perfectly. So now I want to implement in our shell.

Re: UUID vs Longint primary key

2017-08-04 Thread Jody Bevan via 4D_Tech
So what might be not so good with UUIDs? After watching how people work with our systems for 26 years (most of it without UUID capability) I noticed that they often referred to the record by the Unique LongInt we created for each record. For the first year we hid our unique ID - why would

Re: Using SVG for button graphics

2017-08-22 Thread Jody Bevan via 4D_Tech
Kirk: The way we did this was to have one picture object on the form for our button palette. When we built the button pallet we created the SVG on the fly and positioned the buttons where we wanted them to go. We did this because we controlled through security what buttons were available for

Get notification when there is a Backup Error

2017-08-22 Thread Jody Bevan via 4D_Tech
Ferdinando: I have sent the contents of the On Backup Shutdown method that we use. When the backup quits for what ever reason, we determine the results. We then send a message to the System Admins (and any others needed) to let them know. I have sent it as an Exported 4D method. Let me know

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

2017-05-17 Thread Jody Bevan via 4D_Tech
Peter. Get rid of the auto save action. Then you can handle what ever situations you need to. We have not used auto action buttons for 25 years. Sincerely Jody Bevan > On May 17, 2017, at 19:51, Peter Jakobsson via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi > > I rarely come across this

Re: Saving open windows in Design environment feature

2017-06-22 Thread Jody Bevan via 4D_Tech
Jim: Yes, always nice when the gang in Paris will write a feature. They have lower level access to this than we do and usually do it nicer than we can. In the mean time with the Design Object Access commands you could write this feature in for yourself. We are using these commands more and

Re: Modal dialog dilemma

2017-06-19 Thread Jody Bevan via 4D_Tech
ave. My motivation didn't have anything to do > with bleed through. They came about as I was working more and more with > objects and dynamic variables. > > On Sat, Jun 17, 2017 at 2:35 PM, Jody Bevan via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> 1. On all forms we nev

Re: Modal dialog dilemma

2017-06-17 Thread Jody Bevan via 4D_Tech
Pat: ‘Bleed Through’ or as I have called it the ‘Butteryfly Effect’, has always been a nasty surprise and something that takes experience (and discipline) in large systems to not bite you from time to time. I know I have been bitten too many times. Pat without knowing for certain why this is

Re: Server Process "Frozen"-ish

2017-09-13 Thread Jody Bevan via 4D_Tech
I was hoping that with the Preemptive processes we could actually accomplish this. I have not tried it as of yet though with v16. I will stick with ‘Butlers’ as we called them, for now. Jody Jody Bevan ARGUS Productions Inc. Developer Argus Productions Inc.

Re: 4D server "pausing" every 15 minutes

2017-08-24 Thread Jody Bevan via 4D_Tech
Jeff: We love dashboards too. At Jonoke we had a dashboard that would display information on all our client’s servers, and various ‘Butlers’. This way we were often notified before they called of an issue. Collecting the stats also helps to uncover issues. They take time to write, but they

Re: Backup failure

2017-08-21 Thread Jody Bevan via 4D_Tech
Ferdinando: I sent you code that will do what you are looking for I believe. Did you not get it? Jody Bevan ARGUS Productions Inc. Developer Argus Productions Inc. > On Aug 21, 2017, at 12:15 AM, stardata.info via 4D_Tech >

Re: Unable to Compile - Crash - looking for ideas

2017-08-21 Thread Jody Bevan via 4D_Tech
Randy: Keep us posted. That is a scary one. Jody Bevan ARGUS Productions Inc. Developer Argus Productions Inc. ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Widget performance

2017-08-25 Thread Jody Bevan via 4D_Tech
Maybe 4D does not need what we do anymore, but old habits die hard. When we have multiple pages we split the code for setting up all the objects on the form into ‘Page_Methods”. The specific page methods are only run the first time the user clicks to go to that page. That way it usually makes

Re: The speed penalty for pointers is pretty low compiled

2017-11-30 Thread Jody Bevan via 4D_Tech
Kirk: You are right how we stick to our old habits. We do though because they have proven to work and sticking with them saves a lot of time. What we have done is to rewrite our shell every so often. The goal is to make use of all of the new features of 4D that we can, and to try new ways of

Re: 4D Server / Remote 16.2 64-bit macOS 10.12.6 or 10.13

2017-11-30 Thread Jody Bevan via 4D_Tech
When I read that Apple was moving ahead with the new filing system in 10.13 I decided to wait that change out - likely until 10.14. Apple tried that once before and fell flat. I see that there have been a couple of big problems with the new file system - happy I waited. I really appreciate

4D v6.8

2017-11-13 Thread Jody Bevan via 4D_Tech
I did not think I would be dealing with anything before v12, so I deleted all my old versions of 4D a few years ago. Oh well, of course when one does that you need to have what one has deleted. I need to convert a v 6.8 database up to v16. The problem I am encountering is that there are

Re: 4D v6.8

2017-11-14 Thread Jody Bevan via 4D_Tech
Thanks everyone. I will read up on the vll upgrade manual. That is helpful and give the official word on how to do it. I will look to see what version of the OS my old (1st version of MacBook Air has on it) That just might do the trick. I will contact 4D sales about getting the necessary

Re: 4D v6.8

2017-11-21 Thread Jody Bevan via 4D_Tech
Tim: That is a good idea for these old structures. I checked out my original MacBook Pro and it is running 10.6. So I should be good to go. This will be a good idea for the future. I did read that 10.6 is still available from Apple. Jody > On Nov 16, 2017, at 2:22 PM, Tim Nevels via 4D_Tech

Re: 4D v6.8

2017-11-21 Thread Jody Bevan via 4D_Tech
Wayne: Thanks - you confirmed what my research was telling me. I should be good to go with my original MacBook Pro. Jody > On Nov 16, 2017, at 4:35 PM, Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi, > > Scratch that, I've got it running in both 10.5 & 10.6 (next time

Re: 4D v6.8

2017-11-21 Thread Jody Bevan via 4D_Tech
Chuck: Thanks! I will keep your offer in mind. I do have a computer running 10.6.x with lots of room - original MacBook air. Jody > On Nov 16, 2017, at 2:32 PM, Charles Miller via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Great idea I have 10.6.8 server running as a VM ware partition for

Re: 4D v6.8

2017-11-16 Thread Jody Bevan via 4D_Tech
t for that but gave up > > Regards > Chuck > > Sent from my iPhone > >> On Nov 14, 2017, at 11:16 AM, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> my old (1st version of MacBook Air has on it) That just might do the

Access to Runtime Explorer

2018-05-04 Thread Jody Bevan via 4D_Tech
In a Multi Developer environment none of the developers sign in as the ‘Designer’ user. We have a group that has access to the Design environment. We then put developers into this group. Therefore, when working on the system none of us have access to the Runtime Explorer. Sometimes that could

Re: Macro to check that local variables are declared in a method?

2018-04-27 Thread Jody Bevan via 4D_Tech
Bob: Another thought to watch out for. As you know in some cases 4D names some of it’s own things starting with a ‘$’. For example a Process name can be named starting with a ‘$’. If you have strictly named local variables those should be easy to filter out. Jody > On Apr 27, 2018, at 9:54

Re: Macro to check that local variables are declared in a method?

2018-04-27 Thread Jody Bevan via 4D_Tech
Bob: I would suggest if you are going to write something this far, why not make it so that it will declare all local variables for you, and remove declarations that are no longer needed. A great time saver. Of course to go that far, there needs to be a strictly enforced naming convention.

Re: 4D Write Pro Interface component v16R6

2018-05-13 Thread Jody Bevan via 4D_Tech
Thanks for sharing Randy. That will save me time… now I need to remember you told us. Jody > On May 13, 2018, at 7:28 AM, Randy Jaynes via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Just a word of warning to prevent headaches for anyone else in the future. > > I just finished spending a few

Re: First experiments with 4D View PRO

2018-05-17 Thread Jody Bevan via 4D_Tech
I am of similar mind as Jeff in regard to charging if one just uses for the extra Listbox features. There are times where the features of being able to show pictures, numbers, Strings, etc in the same column of the Listbox has proved very useful. Having done this in our shell, it means we

Re: Server Administration Window - I must have been dreaming

2018-05-15 Thread Jody Bevan via 4D_Tech
I know we can make our own Server window that can be displayed from anywhere. I thought I also remember too that we can modify the existing one (or maybe they meant create a custom one that gets used). This is great news when looking after hundreds of servers, or just one. Jody Jody Bevan

Re: Save Record($vptr_Table->)

2018-06-11 Thread Jody Bevan via 4D_Tech
om> wrote: > > >> Le 10 juin 2018 à 23:18, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> a >> écrit : >> >> Sujit: >> >> I do not think it is a table number issue in our code. We built the local >> pointer early into the new process by cod

Re: Date entry

2018-06-10 Thread Jody Bevan via 4D_Tech
Bob: Nasty date formats. About 15 years ago we created our own tool for the date entry, and display in 4D. The dates are always stored in date fields, but we let the user define the way the dates get displayed. This way it does not matter what the computer’s region or date settings are. The

Re: Losing memory on 4D web application

2018-06-10 Thread Jody Bevan via 4D_Tech
Aparajita: We loved ObjectTools at Jonoke for well over a decade. We could not have done what we did without it. It was fantastic. Thanks for ObjectTools over all those years. We never had a memory leak from it while we used it. It is great having plug-in developers creating tools for us,

Save Record($vptr_Table->)

2018-06-10 Thread Jody Bevan via 4D_Tech
The method that this err occurs in is used hundreds of time throughout the system. All record saves go through it. I have a record I used Add Record which opened up our ‘Input’ form. Within the Form Method On Load I update information in the record, and from the User Interface I update

Re: Save Record($vptr_Table->)

2018-06-10 Thread Jody Bevan via 4D_Tech
able directly identified '-1' Jody. > On Jun 10, 2018, at 1:54 PM, Douglas von Roeder wrote: > > Jody: > > Try using the actual table name. What’s in//disable the trigger. > > On Sun, Jun 10, 2018 at 12:50 PM Jody Bevan via 4D_Tech <4d_tech@lists.4d.com > <mailto

Re: Save Record($vptr_Table->)

2018-06-10 Thread Jody Bevan via 4D_Tech
> wrote: > > If there are any Unique fields in that table (I'm sure there are!) check > that you aren't trying to save a duplicate value in one of them. > > PB > > On 10 June 2018 at 21:02, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >&

Re: v16 Time picker - bound variable changed

2018-06-18 Thread Jody Bevan via 4D_Tech
tures to the > community, > as well as collect feedback from 4D developers during the beta phase to make > sure R releases are as stable as possible. > > that is why 4D publishes (blog and documentation) new features well in > advance of release. > >> 2018/06/12

Re: v16 Time picker - bound variable changed

2018-06-12 Thread Jody Bevan via 4D_Tech
h@lists.4d.com> wrote: > > LISTBOX SET PROPERTY was created in 16R2, it's normal that it won't compile > on 16.3 (if that is what you mean) > > http://doc.4d.com/4Dv16R6/4D/16-R6/LISTBOX-SET-PROPERTY.301-3547819.en.html > > 2018/06/12 6:09、Jody Bevan via 4D_Tech > &

Re: Save Record($vptr_Table->)

2018-06-10 Thread Jody Bevan via 4D_Tech
Sujit: I do not think it is a table number issue in our code. We built the local pointer early into the new process by code similar to $vptr_Table:=->[StandardOrder] In one last try, before giving up on the few hours of code I wrote and go to my backup from last night, I compacted the

Re: v16 Time picker - bound variable changed

2018-06-11 Thread Jody Bevan via 4D_Tech
I submitted a bug on Sunday in regard to 16.3 Hotfix 4 where the command Listbox Set Property and all the lk_ constants are not dereferenced (thus cannot compile). In the Method editor one ends up with just a numerical reference. Jody > On Jun 11, 2018, at 2:40 PM, Keisuke Miyako via

Subform - Detail

2018-05-30 Thread Jody Bevan via 4D_Tech
While this old timer is going to use a Detail Subform for the first time. I have read the documentation a few times, but I missing one thing (thus far). 1. How can the parent form know that a change was made in the Subform Detail form (which is information from another table) so that it will

Re: Subform - Detail

2018-05-30 Thread Jody Bevan via 4D_Tech
Kirk: THANKS!! That sounds great, and you taught me more too. Jody > On May 30, 2018, at 11:57 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi Jody, > > On Wed, May 30, 2018 at 10:39 AM Jody Bevan via 4D_Tech < > 4d_tech@lists.4d.com> w

Re: Subform - Detail

2018-05-31 Thread Jody Bevan via 4D_Tech
me. Sincerely Jody Bevan > On May 30, 2018, at 11:57 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi Jody, > > On Wed, May 30, 2018 at 10:39 AM Jody Bevan via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> 1. How can the parent form

Drag from outside of 4D into a 4D Form

2018-06-04 Thread Jody Bevan via 4D_Tech
I thought it would be good for an Import to let people drag a file from the desktop onto a form. It certainly is not a critical feature, the old style select from a file dialog works good for me. I was looking for an example database, or tech note but could not find one. The Drag and Drop

Re: [Solved] v13 - Konstant problem

2018-06-26 Thread Jody Bevan via 4D_Tech
Chip: Hate those kinds of things. Hours to learn, it seems like hours wasted. Thanks for letting us know the solution. Jody > On Jun 26, 2018, at 7:37 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Koen > Thanks > > While you were not exactly on track it did point me in

Re: v13 - Konstants [Solved]

2018-06-27 Thread Jody Bevan via 4D_Tech
Chip and Keisuke: Very interesting thread. We have been using 4D Pop extensively for several years. If UUID are required, and 4D Pop is not handling them right, then I guess we need to write our own tool. I find it strange that a tool that is packaged from the factory would not handle it

Re: UUIDs internal ID with 4DPop

2018-06-27 Thread Jody Bevan via 4D_Tech
Chip: Thanks!! Jody > On Jun 27, 2018, at 2:50 PM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > In the source code for 4DPop > in the method: CONSTANT_Save_file > change the code at line 104 : > from: > CONSTANT_NEW_CONSTANT >

Re: Creating Tables by running a method

2018-06-22 Thread Jody Bevan via 4D_Tech
Pat: We have rarely used a trigger, but it is an important thing to know in going into it. Thanks for telling me. At least I will not spend a week trying to get a trigger into a table I have created this way. One never knows what they will be doing, or need in the future. Life has certainly

Re: Creating Tables by running a method

2018-06-22 Thread Jody Bevan via 4D_Tech
quot;) > > > Primary Keys - Needs SQL > > $sql:="ALTER TABLE "+$tableName > $sql:=$sql+" "+"ADD PRIMARY KEY ("+$fieldName+")" > Begin SQL > EXECUTE IMMEDIATE: $sql; > End SQL > > > > Randy Engle, Director > XC2

Re: v13+ open multiple methods windows stacked

2018-06-22 Thread Jody Bevan via 4D_Tech
Chip: I do not know of a way to do this automatically. I have done it a long time ago using code - code I don’t have anymore. We control the opening position of every window so writing this is not that hard (likely you know that already - sorry). Jody > On Jun 22, 2018, at 3:19 PM, Chip

Creating Tables by running a method

2018-06-22 Thread Jody Bevan via 4D_Tech
I know that this feature has been around for a long time ~ 4D 2011. I am now using 16R6. I now have a method that creates a table with the fields I want added. The challenge I am having is setting indexes (and index types), as well as Primary Keys. I looked in the Knowledge Base for code

Re: Creating Tables by running a method

2018-06-23 Thread Jody Bevan via 4D_Tech
Randy: So I have got this done using all SQL. At the end it would create the indexes for the first table I created, but then fail for al the next. Eventually I figured out that the index name (behind the scenes) need to be unique within the whole database. Therefore I just added a string of

Re: Compiler_ Methods

2018-05-02 Thread Jody Bevan via 4D_Tech
Ferdinando: These are the standard for the method where the compiler will look to declare the variables the way you want them. If you do not do this, then the compiler will declare the variables as it comes across them. I do not remember which version this became the rule, but it has been for

Re: New network layer update

2018-05-02 Thread Jody Bevan via 4D_Tech
Jeff: I gather that if this continues for a few weeks, that you will switch to 64bit clients? Jody > On May 2, 2018, at 3:16 PM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > We flipped the switch on our production server at midnight this morning and > ran all day. We peaked

Re: Application Metrics

2018-07-03 Thread Jody Bevan via 4D_Tech
Taking you back to JonokeMed days Dani circa ~ 2010. Jonoke did all of that so we could know what was used or not. I used the results a lot. Jody > On Jul 3, 2018, at 2:17 PM, Dani Beaubien via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Probably the easiest way to do this is to create a new

4D 6.8 Removing Components

2018-01-18 Thread Jody Bevan via 4D_Tech
I asked this a few months ago. I have finally got from the client the correct version of their structure. It is written in 6.8.6 of 4D (USA). It has some components that I need to get out to convert to much later version so I can use on my big screens and later version of 4D. I am not

Re: Re(2): "Goodbye 4D Write" email

2018-02-06 Thread Jody Bevan via 4D_Tech
I will add my 2 cents worth here too. I agree with Jeff. As a previous post noted a big cause of this problem was Apple. They forced change on us, and on 4D. I was involved in an industry where each month brought new requirements that were forced upon us by various governments that we had to

Re: European Data Protection Reglementation to take effect on May 25 - 4D compliance?

2018-02-12 Thread Jody Bevan via 4D_Tech
Low level data encryption at rest is best achieved with hardware. The major server vendors provide RAID controllers that look after this for you on the fly. This way the data is always encrypted on the hard drives. That way if someone steals the server computer they need that RAID controller in

Re: v17 PDF-Manuals

2018-07-27 Thread Jody Bevan via 4D_Tech
Sorry that I comment on your thread. I didn’t see the Jorg only sign. > On Jul 27, 2018, at 3:23 PM, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Jody, > >> On 27 Jul 2018, at 23:32 AEST, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com >>

Re: Changes to variable initialization in v16?

2018-08-01 Thread Jody Bevan via 4D_Tech
Noah: Can I make a suggestion for you that I and many others here do in their code: 1. Have very defined naming convention of your variables in code. 2. The naming convention must clearly show the type of variable. 3. Every method must declare its local variables. 4. Every process variable must

Re: Tabbed design windows are the best

2018-07-30 Thread Jody Bevan via 4D_Tech
I will have to read the upgrade notes again to see how to do that Chip. Having 5-10 different tabbed windows would work well I think. Jody > On Jul 30, 2018, at 7:36 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Ive not used it - > but > > based on current work style..

Re: Tabbed design windows are the best

2018-07-29 Thread Jody Bevan via 4D_Tech
I tried it out for about 4 days. What I liked: 1. uncluttered desktop. 2. The forms / methods were always in one location. What I didn’t like: 1. Often when I code I will have 2 or 3 windows open that I will be looking at to get object names, or match the flow of code in another method.

What Source do you use

2018-07-29 Thread Jody Bevan via 4D_Tech
I need to have a system with Countries, States (province, Parish, Regions), and then Communities. In the past I would typically use Wikipedia to get the information. I did this to get a few for development and testing. Now I would like to fill this out for about 20 countries. If the Zip /

Re: Objects without Stylesheets suddenly displayed as Wingdings!

2018-07-26 Thread Jody Bevan via 4D_Tech
Chuck: That sounds like great code module to have in a developer tool kit. If you are willing to share, I would appreciate a copy. Thanks jody > On Jul 12, 2018, at 8:12 AM, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I have code that will report on any object on forms

Re: standard action for design mode not working in 17.0

2018-07-26 Thread Jody Bevan via 4D_Tech
John: I encountered this too. I believe the command changed from the v16R series to a slight difference in v17. The constant had changed. I looked it up in v17 and just used the new command. Jody > On Jul 14, 2018, at 8:18 AM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I

Re: v17 PDF-Manuals

2018-07-27 Thread Jody Bevan via 4D_Tech
I am good with the HTML pages. Especially when we can download them to run locally. I have a blazing fast 2MB download and 512k upload internet speed. They work fine for me for lookup of commands. I just finished 2 weeks of internet down. Running the browser in Offline mode and accessing the

E-Mail in 4D

2018-08-14 Thread Jody Bevan via 4D_Tech
The last time I wrote an E-Mail client with 4D was circuit 4D v11 and into v12. It worked great. I left the programming world for a break for 2 years, and then got back in. Now I am using 16R6, and will likely move into the v17. releases for a product I am working on. From my review today, and

OPs - my bad

2018-08-26 Thread Jody Bevan via 4D_Tech
I made a comment that has not shown up on the nug yet that the component documentation didn’t explain what the ‘Matrix’ was before using it. After 10 more minutes of frustration I discovered it was located in the Component Overview section - which I missed when I thought I was starting from the

Re: New record numbering system and CALL WORKER

2018-08-27 Thread Jody Bevan via 4D_Tech
Chuck: That is exactly what we do for our code. Has served us well for all our sites. We can have 200+ current users on the system, importing records from labs (thus needing lots of counters quickly), and never noticed a problem with the system. For those counters we do not wanted to have one

Writing Components

2018-08-26 Thread Jody Bevan via 4D_Tech
I really want to place a bunch of our code / forms into a component. It will make it much easier to install into other systems, and to update that code / forms as into older designed system that use an older version of the component. Of course it also protects what could otherwise be

Set Environment Variable

2018-08-29 Thread Jody Bevan via 4D_Tech
I am using the Launch External Process to get information via wmic. Of course the cmd line window pops up for a second. I would like to stop this. The Set Environment Variable command is supposed to do this. Of course though, I need to know the environment variable to do this with. I am having

Re: Help?

2018-09-11 Thread Jody Bevan via 4D_Tech
Ken: This is why with ALL our code, we have right near the very beginning of our code the following: If(Caps Lock Down) Trace End if Of course this does not work in compiled mode. Many many years ago I learned the lesson like you did. This is now standard code. Jody > On Sep 10, 2018, at

Re: Date entry

2018-07-05 Thread Jody Bevan via 4D_Tech
te formats: > On a UK system, dates in fields and list boxes are incorrectly displayed in > the US format. But when you click into a date field, it changes to the UK > format! > > How do you manage this? > > Pat > > On Sun, 10 Jun 2018 at 15:46, Jody Bevan via 4

Re: Date entry

2018-07-05 Thread Jody Bevan via 4D_Tech
Pat: I was a lot of work. Especially going through a large application and changing it all over. We got forced into it by regulation of supporting different date formats across different government regulatory regions. So we decided to just do it the flexible way and provide many more features

Re: Minimalism in Graphics

2018-07-06 Thread Jody Bevan via 4D_Tech
Fast enhancement request! Jody > On Jul 6, 2018, at 10:16 AM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > The color is back in the debugger in v17, just FYI. > >> On Jul 6, 2018, at 11:54 AM, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> &g

Minimalism in Graphics

2018-07-06 Thread Jody Bevan via 4D_Tech
What do you think and do? I know that this ‘trend’ is started by the designers at Apple. When Apple starts a design trend then many thousands of developers follow it. To me, this trend is just like a fashion trend, rather than a functional trend. Yes I have read that the ‘reason’ is to let

  1   2   >