Re: Get rid of users and groups (v15)

2016-09-30 Thread Neil Dennis
Form the design menu select tool box, then users, click on the user you want to delete and click the minus button. Neil -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:npden...@greatext.com http://www.gre

Re: Parameter Passing - $N or Objects ?

2016-09-30 Thread Neil Dennis
ith objects makes things really easy I love objects, I think if you start using them and get to know them you will love them too :) Neil -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:npden...@greatext.

Re: Line Breaks in 4D Loop

2016-10-14 Thread Neil Dennis
> > > > What is your document type? If you are using XHTML try using a Have you looked at the output? What is being sent instead of ? -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414

Re: Survey on 4D’s strategy for implementing Preemptive Processing / worker processes

2016-11-01 Thread Neil Dennis
o cases means double maintenance, and double testing… I’m missing the advantage of the extra code. Neil -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:npden...@greatext.com ht

Re: Survey on 4D’s strategy for implementing Preemptive Processing / worker processes

2016-11-01 Thread Neil Dennis
preemptively. My survey opinion is still unchanged… for what workers are designed to do the limitations are not a huge burden. Most uses I see for preemptive processes are for server jobs, report writing, imports, exports, syncing between databases etc. Neil -- Neil Dennis 4D Developer since 19

Re: Progressive slow

2016-11-02 Thread Neil Dennis
eil -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:npden...@greatext.com http://www.greatext.com/ ** 4D Internet Users Group (4D iNUG) FAQ: h

Re: Questionary into the mail message

2016-11-15 Thread Neil Dennis
there. You just need to put the pieces together to solve your particular problem. -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:npden...@greatext.com http://www.greatext.com/ ***

Re: Character encoding in a PDF

2016-11-21 Thread Neil Dennis
special characters by altering $1 at the top of the method. For example to get the Euro to show correctly use: $1:=Replace string($1;"€";"\\200”) For the character 0x00BF "question down" use WIN code 277 $1:=Replace string($1;"¿";"\\277”)

Re: Character encoding in a PDF

2016-11-22 Thread Neil Dennis
ode. PDF documents look kind of scary but as you pointed out they are easier than using a print form with these few methods added to your application. And they are cross platform, require no plugins nor printer drivers and the code is free :) -- Neil Dennis 4D Developer since 1990 GreaText - Des

Re: Character encoding in a PDF

2016-11-22 Thread Neil Dennis
//www.gofundme.com/> web site so something similar. Neil -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:npden...@greatext.com http://www.greatext.com/ ***

Re: EXECUTE ON SERVER Attribute - Is there similar for single-user?

2016-12-04 Thread Neil Dennis
END-TRANSACTION.301-2937406.en.html <http://docs.4d.com/4Dv15R5/4D/15-R5/SUSPEND-TRANSACTION.301-2937406.en.html> (4D v15r4 and above) It will be much easier to do something like this SUSPEND TRANSACTION // Do something cool outside of transaction RESUME TRANSACTION -- Neil Dennis 4D Developer s

Re: EXECUTE ON SERVER Attribute - Is there similar for single-user?

2016-12-04 Thread Neil Dennis
u are using 4D v15r4 or above. -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:npden...@greatext.com http://www.greatext.com/ ** 4D Intern

Re: EXECUTE ON SERVER Attribute - Is there similar for single-user?

2016-12-05 Thread Neil Dennis
> What's in 15r4 that addresses these items. 15r4 introduced the SUSPEND TRANSACTION and RESUME TRANSACTION commands This make it so there is no longer a need to start a new process to change a record outside of a transaction while in a transaction. -- Neil Dennis 4D Developer si

Re: Hourly Consulting Rates

2016-12-16 Thread Neil Dennis
it was for a good cause :) I do have a standard starting rate that I use and I would put it on a survey, but I wouldn’t put my rate out there just because. Neil -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84

Re: Hourly Consulting Rates

2016-12-17 Thread Neil Dennis
say that 4D programmers are about the same in the US, maybe multiply by one instead for US work. Neil -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:npden...@greatext.com http://www.

Re: Problem launching a bat file via LAUNCH EXTERNAL PROCESS

2016-12-29 Thread Neil Dennis
> Any idea why this is working on one computer but not another? What error is returned in the error parameter from the Launch External Process? Neil -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:np

Re: Write failed with error code

2017-01-02 Thread Neil Dennis
> A serious error occurred... > > Someone know the reason? > I get this error when one or more of the networks ports were closed. Could be a router setting or If you don’t get this problem often it is more likely a temporary interruption in the network. Neil -- Neil Dennis

Re: Best way to find something in an array of objects

2017-01-07 Thread Neil Dennis
> For our American friends: > > -30C = 23F > 30C = 86F > 45C = 113F > You are off a bit… -30C = -22F Either way, darn cold. Neil -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:npd

Re: Best way to find something in an array of objects

2017-01-07 Thread Neil Dennis
> Yeah, the difference between -22F and -23F makes all the difference. Either > way, you slip, you fall...and then the ice weasels come. > If you look carefully you put down positive 23 instead of negative 23 :) Neil >>> For our American friends: >>> >>> -30C = 23F >>> 30C = 86F >>> 45C =

Re: Website development path

2017-01-16 Thread Neil Dennis
Parse to turn it into a JavaScript Object JavaScript uses JQuery to build the page and display the data. This is the way to get hybrid mobile applications to work, it could work just the same for “real” web pages. Neil -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software

Re: v16R and v16

2018-01-22 Thread Neil Dennis via 4D_Tech
> Are you suggesting it might be better to skip updating to and deploying v16 > and wait for v17? Nope, there are tons of cool things in v16 :) I didn’t wait, 4D keeps getting gooder and gooder (yes I just said gooder) :) Neil Sent from my iPhone > On Jan 22, 2018, at 7:09 AM, Jim Dorrance via

Re: V17 MSC Reports Orphaned Methods...

2018-11-17 Thread Neil Dennis via 4D_Tech
> So, any thoughts on how to get a clean bill of health from MSC…? I’ve deleted > all orphaned methods, repaired & compacted the structure. I’m running out of > things to try. Try deleting the 4D.indy then do a repair. I had a similar problem and this seemed to work for me. Ne

Re: 4D v15r5 vs 16

2017-03-24 Thread Neil Dennis via 4D_Tech
As for 4D v16, I have used it a lot... seems just as solid as v15.4 Neil Sent from my iPhone > On Mar 24, 2017, at 11:05 AM, Randy Engle via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > OK... so I'm a little dense with understanding the "R" releases yet. > > Does v16 have goodies that 15 R5 do

Re: 4D v15r5 vs 16

2017-03-24 Thread Neil Dennis via 4D_Tech
Just v16, however I don't use the integrated web. Either I or 4D wrote the plugins I use... I have seen no issues there. Sent from my iPhone ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: ht

Re: v16 Listboxes and the Control Array

2017-09-10 Thread Neil Dennis via 4D_Tech
I have not found a way to not use a process array here... even in v16 Sent from my iPhone > On Sep 10, 2017, at 11:42 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I'm just starting to do some serious work with listboxes in v16. In > previous versions I know that things like t

Re: Relation naming for ORDA in v17? Best Practices anyone?

2019-02-08 Thread Neil Dennis via 4D_Tech
Given two tables: [Invoice] [InvoiceItems] I went much simpler… The many to one from InvoiceItems to Invoice I simply name invoice The one to many from Invoice to Invoice Items I simply named invoiceItems Then the dot notation comes out to be Invoice.invoiceItems InvoiceItems.invoice Neil

Re: How to decode this text

2019-07-30 Thread Neil Dennis via 4D_Tech
Just base 64 decode it. RG9lcyB5b3VyIGNvbXBhbnkgb2ZmZXIgaW5zdXJhbuKFvWU/ Decoded is Does your company offer insuranⅽe? Neil > On Jul 30, 2019, at 12:28 PM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I am playing with a method to extract the Body of emails

Re: Confused array type in an object

2019-08-09 Thread Neil Dennis via 4D_Tech
I don’t think 4D can type {additional_information:[Check / Money order]}… It can’t be text because it isn’t quoted, it can’t be a text array. A text array would be formatted like this ["Check / Money order”] so I’m not surprised that 4D is returning null. 4D object are not JSON objects, just s

Re: 4D Web Server Security

2019-11-26 Thread Neil Dennis via 4D_Tech
>What port are you serving your web application on? I’m not Lutz, but to be secure you will need https over port usually 443. You will need to create certs with an authority and have them installed. Neil — ** 4D Internet Us

Re: peer to peer app in 4D

2019-12-18 Thread Neil Dennis via 4D_Tech
> m writing a basic app that will find people who are physically close to > you. Kind of like Uber. Can 4D do that elegantly? There is nothing build in for geo locations, but 4D is a great language and can be expanded with plugins to do anything that can’t be done native. You may not even need

Re: HTTP Upload file size too low

2020-01-09 Thread Neil Dennis via 4D_Tech
> I wish. However as someone else pointed out some IT departments will not > allow FTP. Chuck, FTP is not secure and is prohibited for data that needs to be secure. Back in the day when Mac had servers they removed from the FTP server, my guess is that it was for this reason. Do NOT use FTP u

Re: 4D Application as a 3-tier System

2020-01-27 Thread Neil Dennis via 4D_Tech
As you already know a textbook three tier application would be web based… HTML/Javascript/CSS - Front End PHP/JS/ASP… many others - Middleware MySQL, Oracle etc - Backend The key points being: Front end handles the presentation Middle ware handles the business logic and application flow talks bet

Re: 4D Summit Virtual?

2020-03-11 Thread Neil Dennis via 4D_Tech
> We’re fine here in Chicago. I’m still going. If they have it, I will come… Neil -- ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub:

Re: Text Editor Which Knows 4D Tags?

2020-03-26 Thread Neil Dennis via 4D_Tech
I have played with Atom, it does allow adding 4D tags. Miyako sent out the tags add on awhile back, maybe at a summit? Anyway you can add custom tags. > On Mar 26, 2020, at 3:22 PM, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I’m very new to 4D Web programming and I’m trying

Re: Long running reports to disk intermittently disrupted and fail

2020-04-15 Thread Neil Dennis via 4D_Tech
> The fastest way to build the output is probably with a pre-sized blob, and > using TEXT TO BLOB with the offset parameter. Pushing elements into a > collection and then using collection.join() is also pretty fast, but again > you’d have to test to see how large a text variable can actually be,

Re: Native 4D code to convert numbers into text?

2020-06-16 Thread Neil Dennis via 4D_Tech
> I would do this a little differently. I would pass in number (real) > convert to text using commas and decimal points > build an array of each second so if you passed in and got the following string Another option would be to use recursion, that is the one I use now, then you don’t need an arr

Re: More values into one field

2020-07-11 Thread Neil Dennis via 4D_Tech
There are three ways I know of in v16 to store multiple datapoint in a field, object, blob, text… I recommend an object. Neil > On Jul 11, 2020, at 2:17 AM, stardata.info via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi All, > > I use 4D v16. > > I've needed to save more values of the same

Re: execute method

2020-07-16 Thread Neil Dennis via 4D_Tech
I don’t think this will work compiled. Try the command "Process 4D Tags” If the version of 4D you are using has this command, you can put 4D code in text and execute it with this command (no need to create a method) Neil > On Jul 16, 2020, at 1:36 PM, Chuck Miller via 4D_Tech <4d_tech@lists.4d.

Re: Trace Command in V18.3

2020-10-28 Thread Neil Dennis via 4D_Tech
I’m using v18R3 and trace works. I’m assuming the sis code from a project method? And both traces are failing? I think this is unique to you. Try it in a new database and let us know if you are still having problems. Neil > On Oct 28, 2020, at 11:18 AM, Dave Slayton via 4D_Tech <4d_tech@lists.

Re: Trace Command in V18.3

2020-10-28 Thread Neil Dennis via 4D_Tech
Good suggestion If you have the ability to edit the code then you should have the license to trace. If you are not able to edit the code you are not allowed to trace either. Neil > On Oct 28, 2020, at 11:35 AM, Spencer Hinsdale via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > check your licens

Re: Hide Application Process

2020-11-06 Thread Neil Dennis via 4D_Tech
You can use the following on startup: $l := Frontmost window HIDE WINDOW ($l) > On Nov 6, 2020, at 8:14 AM, David Rose via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Thanks, David. The checkbox for showing the splash screen has always been > unchecked. > > > > From: David Ringsmuth [mailt

Re: Record locking woes

2021-01-11 Thread Neil Dennis via 4D_Tech
> If anyone is out there... > So is the email list obsolete? A few people are still monitoring, I’m still here because I haven’t turned if off yet. But yes, I consider this email list obsolete. I don’t think that the automatic relations loading a locking a record on a sort is a 4D bug. It has

Re: Record locking woes

2021-01-11 Thread Neil Dennis via 4D_Tech
> I'd like to build a little test db to see if I can replicate it there... but > I probably won't. I was able to replicate this years ago. You could try leaving the automatic relation, but set the table in question to read only before the sort. However it is best to just get rid of the automat

Re: PING of life...

2021-01-13 Thread Neil Dennis via 4D_Tech
I haven’t left Neil > On Jan 13, 2021, at 5:32 AM, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > G’day, > > Are here still enough dinosaur/old timers present to have some decent > discussions without that white noise and smart-arse newbies in the forum? > > I’m following the le

Re: PING of life...

2021-01-13 Thread Neil Dennis via 4D_Tech
> I must have missed an important episode here, because I don’t understand what > that statement means. Was there a controversy at some point? Was it recent? > Or years ago? There was some heated debate recently regarding html vs pdf documentation… I’m assuming that is what is referred here. N

Re: PING of life...

2021-01-14 Thread Neil Dennis via 4D_Tech
One think I do like about this group vs the other group is that, with very few exceptions, I can read all of the messages because I can understand the language. I only speak two languages, English and Gilbertese… there are no Gilbertese messages. So I spend time on at the other place (not a lot

Re: PING of life...

2021-01-14 Thread Neil Dennis via 4D_Tech
> Agreed. That’s the main thing that puts me off. I just want to see English > messages and not all the other clutter. John commented on setting up your email only for the English forum… I may have missed this step, I wlll see if I can find it. Neil *

Re: PING of life...

2021-01-14 Thread Neil Dennis via 4D_Tech
> Under Notifications/Categories on the left, select which categories you want > to watch and which ones to mute. I just implemented the muted options, thank you for pointing these out :) Neil ** 4D Internet Users Group (4D iNU

Re: PING of life...

2021-01-15 Thread Neil Dennis via 4D_Tech
I set my settings yesterday day to mute non-English… it made me smile today when I opened up my email and could read every message :) My last complaint, and it is minor is that I use dark mode on my computer. The new list insists on using a white background and black text, it is really bright c

Re: PING of life...

2021-01-17 Thread Neil Dennis via 4D_Tech
> There is a dark mode setting in 4d discuss preferences. That seems to only work for the web and does not apply to email messages. Neil ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lis

Re: Copy and Paste

2021-03-23 Thread Neil Dennis via 4D_Tech
> On Mar 23, 2021, at 1:42 PM, stardata.info via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > > The problem is Copy and Past functions that after sometimes stop to work in > method editor. > > So is not possible to Copy and Paste the rows of codes in 4D editor. > When it quits working in the

Re: How do you get a Vertical Splitter's Horizontal 'Move' Resizing Attribute to work?

2021-04-28 Thread Neil Dennis via 4D_Tech
> When pull the window wider, I'd like the text box on the left to grow, and > the splitter and text box on the right to move. You might have to take control of this yourself… write 4D code to set the form objects sizes and positions based on windows size, then call this code on the windows siz

Re: Base64 Image

2021-06-04 Thread Neil Dennis via 4D_Tech
Look at the command BASE64 DECODE https://doc.4d.com/4Dv18/4D/18.4/BASE64-DECODE.301-5233044.en.html > On Jun 4, 2021, at 5:40 AM, stardata.info via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi All, > > I need to obtain

Re: logarithm

2022-06-29 Thread Neil Dennis via 4D_Tech
This just comes down to math: You can calculate the log of any base if you have log of any other base. 4D has the command Log (which is a natural log based on e… 2.718 etc). We can use it to convert logs to any base. If you want log base 10 do the following: $x:=100 $log:=Log($x)/Log(10) ALERT(

Re: Question on 'journal' file

2024-01-18 Thread Neil Dennis via 4D_Tech
If you have backups turned on the .journal file records every transaction since the last backup. This allows you to rolll the data forward from the last backup to any point in time. If the file is huge it means that your data is not being backed up. Each backup will replace the .journal file w