Remedial question about components

2017-04-17 Thread David Adams via 4D_Tech
I check out 4D's components every few versions and am now doing so in V16. I've got a big pile of code that would be nicer to use as a component. It's got a few well-defined entry points/functions accessed via passed parameters and callbacks, so there are already no shared variables to worry

Re: Component write protected error

2017-04-17 Thread David Adams via 4D_Tech
Yes, yes it was. On Tue, Nov 9, 2010 at 12:56 PM, Jeffrey Kain wrote: > Glad to help! Hopefully this thread is helpful in the archives... Yes, yes it is... ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Minute of Silence for the "Altura Toolbox"

2017-04-17 Thread Tom Dillon via 4D_Tech
Lee Hinde (rhymes with wind) sez: >If I had young children I'd read this to them at bedtime tonight. Hush, little partner don't say a word Universal's rising like a big firebird It will fly over platforms all Altura's at the base and it's ten feet tall If you ask when it'll be released I can't

Re: Minute of Silence for the "Altura Toolbox"

2017-04-17 Thread Doug Hall via 4D_Tech
...and they lived happily ever after. The End. :-) On Mon, Apr 17, 2017 at 5:22 PM, Lee Hinde via 4D_Tech <4d_tech@lists.4d.com > wrote: > If I had young children I’d read this to them at bedtime tonight. > > > > On Apr 17, 2017, at 3:04 PM, Peter Jakobsson via 4D_Tech < > 4d_tech@lists.4d.com>

Re: Automated tasks on 4D Server

2017-04-17 Thread David Adams via 4D_Tech
On Tue, Apr 18, 2017 at 4:44 AM, James Crate via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Every time I add some automatic process on the server, I wonder whether > there is either > > a. some built-in functionality for this that I have completely missed > Nope. No cron or cron table. For the

Re: Converting Little Endian Byte Representation To a String

2017-04-17 Thread Cannon Smith via 4D_Tech
Thanks, Tim! I’ll try that library out tomorrow and see how it goes. Much appreciated. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Apr 17, 2017, at 5:03 PM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >

Re: Converting Little Endian Byte Representation To a String

2017-04-17 Thread Tim Nevels via 4D_Tech
On Apr 17, 2017, at 5:19 PM,Cannon Smith wrote: > Here is an example string coming across the wire: “02ABC877FAFB0200”. This > represents 8 bytes in little endian ordering. The algorithm that was given me > was to break the string into bytes (“02”, “AB”, “C8”, etc.) and then loop > through

Re: Minute of Silence for the "Altura Toolbox"

2017-04-17 Thread Lee Hinde via 4D_Tech
If I had young children I’d read this to them at bedtime tonight. > On Apr 17, 2017, at 3:04 PM, Peter Jakobsson via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > > Being something of a “4D fossil” myself as one of our more celebrated peers > once put it, I couldn’t help raising an eyebrow at

Re: Converting Little Endian Byte Representation To a String

2017-04-17 Thread Cannon Smith via 4D_Tech
Hi Julio, Not a stupid question at all! The hex string representation is simply the way this reader has decided to encode and transfer the RFID number. The actual RFID number has to be interoperable with other systems that expect it in the “regular” format. Also, users will sometimes hand

Minute of Silence for the "Altura Toolbox"

2017-04-17 Thread Peter Jakobsson via 4D_Tech
Being something of a “4D fossil” myself as one of our more celebrated peers once put it, I couldn’t help raising an eyebrow at the quietly announced retirement (see 4D Blog) of an equally entrenched but possibly far more productive contemporary and felt I couldn’t let this news pass without at

Re: Converting Little Endian Byte Representation To a String

2017-04-17 Thread Julio Carneiro via 4D_Tech
Cannon, Forgive my stupid question: why do you need to convert the hex string to number? Can’t you simply use it as your RFID? (of course you’d have to increase your key field to 16 chars). You’re already handling it as a string, why change? > On Apr 17, 2017, at 6:36 PM, Cannon Smith via

Re: v15 - end of line in method editor

2017-04-17 Thread Chip Scheide via 4D_Tech
remapping possible? On Mon, 17 Apr 2017 15:32:24 -0600, Tom Dillon via 4D_Tech wrote: > Chip Scheide via 4D_Tech wrote: > >> (Mac) used to be > > > > -- >-- >Tom Dillon 825 N.

Converting Little Endian Byte Representation To a String

2017-04-17 Thread Cannon Smith via 4D_Tech
I have a little problem I’m hoping someone can help me solve. First, a bit of background. Our application deals with RFID tags for animals. These are always 15 digit numbers like 124000123456789. Even though they are numbers, I never have to deal with them as numbers. Instead, I always treat

Re: v15 - end of line in method editor

2017-04-17 Thread Tom Dillon via 4D_Tech
Chip Scheide via 4D_Tech wrote: >(Mac) used to be -- -- Tom Dillon 825 N. 500 W. DataCraft Moab, UT 84532

v15 - end of line in method editor

2017-04-17 Thread Chip Scheide via 4D_Tech
(Mac) used to be now?? Thanks --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Re: Automated tasks on 4D Server

2017-04-17 Thread Douglas von Roeder via 4D_Tech
On Mon, Apr 17, 2017 at 11:44 AM, James Crate via 4D_Tech < 4d_tech@lists.4d.com> wrote: > It’s easy enough to just start a process that does what is necessary, but > to do it simply requires a different process for each kind of schedule > (i.e. every 5 minutes, once per day), and isn’t very

v15.2 clients logging into v15.4 server

2017-04-17 Thread Kirk Brooks via 4D_Tech
Hi folks, I am suddenly having all sorts of problems with a v15.4 server (windows, 64 bit). The server has been upgraded to v15.4 for a few weeks and suddenly I'm getting all sorts of random errors, data corruption and such. I haven't been able to pinpoint the exact cause yet but I notice there

Re: Unattended Mac OS X Sierra v15.4 remote disconnects

2017-04-17 Thread Chip Scheide via 4D_Tech
this probably should be on try it - worst case it has no effect... On Mon, 17 Apr 2017 19:17:47 +, Perkins, Bradley D via 4D_Tech wrote: > > [ ] Prevent computer from sleeping automatically when display is off. --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is

Re: Unattended Mac OS X Sierra v15.4 remote disconnects

2017-04-17 Thread Perkins, Bradley D via 4D_Tech
Chip, I had already done that, but this helps as it made me review my settings: Here are the settings for both machines: Turn display off after : 30 minutes [ ] Prevent computer from sleeping automatically when display is off. [ ] Put hard disks to sleep when possible [x] Wake for Ethernet

RE: 4D SQL Implementation

2017-04-17 Thread Aaron via 4D_Tech
You can parameterize with SQL Execute using "SQL SET PARAMETER" So any part that User enter should be using that. You cannot parameterize and array. I’m not aware that IN is parametrizable in MYSQL or MSSQL either (though I suppose I could be wrong) MYSQL/PHP for example only supports a

Automated tasks on 4D Server

2017-04-17 Thread James Crate via 4D_Tech
Every time I add some automatic process on the server, I wonder whether there is either a. some built-in functionality for this that I have completely missed or b. a component that can be easily integrated to add this functionality It’s easy enough to just start a process that does what is

RE: Clean Slate - Modern User Experience.

2017-04-17 Thread Timothy Penner via 4D_Tech
The blog (blog.4d.com) has a lot of good examples with the most up-to-date version of 4D. Regarding the hdi examples on the ftp site: > if you could spare some time to go through the various "HDI" examples, > especially those themes on the listbox, I think it would be a good way to get >

RE: 4D SQL Implementation

2017-04-17 Thread Timothy Penner via 4D_Tech
Hi Randy, > I found that I can call a DROP TABLE from various ways with a SQL editor. > I seem to be missing a way to keep them from successfully calling this > command, except to not let them have ODBC access in the first place. > We have our system set to not allow INSERTS and UPDATES, but

RE: Clean Slate - Modern User Experience.

2017-04-17 Thread Lo via 4D_Tech
Hi Chaps Thanks Peter and Tim. 4D UI - spaghetti soup I sometimes bump into... Often hard... >> Things to avoid: >> >> Ambiguity (e.g. colour coded text) > This is a good point because there are more color blind people out there than > you know. More men are color blind than women. So always

RE: 4D SQL Implementation

2017-04-17 Thread Randy Engle via 4D_Tech
Hi Tim, Thanks for the reminder about Bobby Tables. This reminds me of a still existing issue, when accessing 4D via ODBC. I found that I can call a DROP TABLE from various ways with a SQL editor. I seem to be missing a way to keep them from successfully calling this command, except to not

​Re: Clean Slate - Modern User Experience

2017-04-17 Thread steve simpson via 4D_Tech
> On Apr 17, 2017, at 8:47 AM,Peter Jakobsson wrote: > > > Doesn’t the O/S define ‘modern era’ ? > > > > If you stick to vanilla 4D objects (i.e. just the raw button styles, > list styles & fields etc) then the O/S will do all the work for you in > keeping your screens up to date. > ​+1​

Re: Clean Slate - Modern User Experience

2017-04-17 Thread info--- via 4D_Tech
mixing all current 4D technologies O r t w i n Z i l l g e n - Mitglied des Entwicklernetzwerkes www.die4dwerkstatt.de ** 4D Internet Users

RE: 4D SQL Implementation

2017-04-17 Thread Timothy Penner via 4D_Tech
> Using strings built into queries is prone to sql injection if the query has > any input from the users and is considered a deadly sin in most cases. Here is a good example describing why you should never concatenate data into a SQL statement; you should always use parameterized queries

Re: Unattended Mac OS X Sierra v15.4 remote disconnects

2017-04-17 Thread Chip Scheide via 4D_Tech
try : System preferences -> Energy Saver : - Computer sleep = never - Put Hard disks to sleep when possible = off On Mon, 17 Apr 2017 15:34:10 +, Perkins, Bradley D via 4D_Tech wrote: > I spoke too soon. Client disconnects started once I left work on Friday. I > apparently have app nap

RE: 4D SQL Implementation

2017-04-17 Thread Justin Will via 4D_Tech
Aaron, > alternatively you can use SQL EXECUTE to still be able to use local > variables, and build your query dynamically Using strings built into queries is prone to sql injection if the query has any input from the users and is considered a deadly sin in most cases. Justin

Re: Unattended Mac OS X Sierra v15.4 remote disconnects

2017-04-17 Thread Perkins, Bradley D via 4D_Tech
I spoke too soon. Client disconnects started once I left work on Friday. I apparently have app nap turned off for 4D (checkbox in 4D.app get info). It also is off for most other apps based on viewing the Energy tab of all processes in Activity monitor. The one exception is Finder, for which there

Re: [OFF] Hardware advice - which new MacOS computer

2017-04-17 Thread Chip Scheide via 4D_Tech
My observation on this: Apple - Mac = more $ up front, but much longer life which means less $ in the longer run, and no "Shoved down your throat" OS updates (see Windows 10). MS - = less $ upfront, but faster turn over in machines (the organizations I've dealt with - primarily hospital

Re: Clean Slate - Modern User Experience.

2017-04-17 Thread Benedict, Tom via 4D_Tech
Peter Jakobsson responds: >> Where could I go to see samples of what folks are doing with 4D which brings >> the UI into the modern era? Any thoughts? >Doesn't the O/S define 'modern era' ? I couldn't agree more. If you are using 4D "client" for your app, create style sheets and

Re: Clean Slate - Modern User Experience.

2017-04-17 Thread Jeffrey Kain via 4D_Tech
I wish 4D would give us some new objects to play with. Comparing the current version of FileMaker to 4D gives me a serious case of widget envy. -- Jeffrey Kain jeffrey.k...@gmail.com > On Apr 17, 2017, at 10:22 AM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I agree. I like to

Re: Clean Slate - Modern User Experience.

2017-04-17 Thread Tim Nevels via 4D_Tech
On Apr 17, 2017, at 8:47 AM,Peter Jakobsson wrote: > Doesn’t the O/S define ‘modern era’ ? > > If you stick to vanilla 4D objects (i.e. just the raw button styles, list > styles & fields etc) then the O/S will do all the work for you in keeping > your screens up to date. I agree. I like to go

Re: Clean Slate - Modern User Experience

2017-04-17 Thread Tim Nevels via 4D_Tech
On Apr 17, 2017, at 8:47 AM,Mitchell Shiller wrote: > If you would like I can send you some sample pages to better understand what > I am saying. I’m interested in seeing some sceenshots of your new user interface. Tim Tim Nevels Innovative

Re: [OFF] Hardware advice - which new MacOS computer

2017-04-17 Thread G-Mail via 4D_Tech
First thanks to those that responded with their recommendations (Jeff, Kirk, Peter, and Chuck). After reading your recommendations, watching the rumour mill re Apple, checking out some Windows based products, and reflecting on my Apple experience (since I switched from Apple II… to MacOS back

Re: 4D SQL Implementation

2017-04-17 Thread Aaron via 4D_Tech
> You still can't use local variables in a EXECUTE IMMEDIATE SQL statement in a > compiled application? Is it really that difficult to implement? alternatively you can use SQL EXECUTE to still be able to use local variables, and build your query dynamically sample: C_TEXT($sqlStmt)