Re: 4D Server/4D Client runs just fine in a good VM

2017-02-28 Thread John Baughman via 4D_Tech
I am using Oracle VirtualBox and really like it. Running 4D versions 13, 14, and 15 in Windows Server 2008 32bit and Windows 7 64bit. Not had any problem running 4D in 4gb ram , but have bumped it to 8gb when having to work with other applications in conjunction with 4D. I was a long time user

Re: v13 - Select & Create Document

2017-03-14 Thread John Baughman via 4D_Tech
After the call to Select document, the system variable Document contains the full path to the document selected. John > On Mar 14, 2017, at 11:21 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I have the following (code excerpt) attempt to create a document on > disk. >

Project Method not found in Quick Report Editor

2017-04-06 Thread John Baughman via 4D_Tech
I create a simple method to use with the Quick Report Editor. I can pick the method from the command list in the editor for one of my columns, but when I run the report I get an error saying that “Project method not found”. Am I forgetting something? Thanks, John

WEB SERVICE CALL parsing error

2017-03-09 Thread John Baughman via 4D_Tech
I am getting the following error… Error when executing the method "proxy_GetAllProjects" at line number 44 - Error 9911 (The returned XML is incorrect. : Complex types are not parsed in this version. error at line 1238, column 0: invalid character reference ) Error code: 9911 Error 9911

PHP EXECUTE in a loop

2017-03-12 Thread John Baughman via 4D_Tech
I am running the following PHP EXECUTE in a loop... $ok:=PHP Execute("";"urldecode";$unescapedText;$escaptedText) //unescape the text Getting the following error... -- FastCGI client error in context "{context}". Environment info: UseExternalServer = {use_ext}, ip = {ip}, port = {port},

Re: Listbox Printing

2017-08-02 Thread John Baughman via 4D_Tech
** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com

Re: External data storage question

2017-08-03 Thread John Baughman via 4D_Tech
> On Aug 3, 2017, at 1:45 PM, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > With what you have done now, how does 4D know the path of the document > (picture) that you saved. Jody, With custom pathname you use the command SET EXTERNAL DATA PATH and the path is saved

Re: External data storage question

2017-08-03 Thread John Baughman via 4D_Tech
He David, > Ouch. That definitely sounds like a bug to me, so I'd say file it wherever > you're meant to. I think that's on the beta release forum in France. Yep. I am nearly convinced that his is beta bug. I have already found a couple of other bugs and reported them. I will wait a bit

Re: External data storage question

2017-08-04 Thread John Baughman via 4D_Tech
g 3, 2017, at 1:21 PM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I recently changed storing a picture field outside the database from > automatic location to custom path name to file. Still working on getting it > ready for deployment. > > I just

Re: Anybody using the TimePicker widget - TimePicker SET STEP

2017-08-10 Thread John Baughman via 4D_Tech
> On Aug 9, 2017, at 3:14 PM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I have been using this for a very long time and always with a 45 min step. > Now I need to set it to a 10 min step Y calling.. > > TimePicker SET STEP ($ObjectName;?00:1

Re: Anybody using the TimePicker widget - TimePicker SET STEP

2017-08-10 Thread John Baughman via 4D_Tech
> On Aug 10, 2017, at 11:17 AM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > and the widget must be used on page 0 or 1. Ah Ha! That was the problem. My widget is on page 2. In any event works in an on timer event. John John Baughman Kailua, Hawaii (808) 262-0328

Re: Anybody using the TimePicker widget - TimePicker SET STEP

2017-08-10 Thread John Baughman via 4D_Tech
Is the page one requirement documented anywhere. Looked and could not find it. If not, perhaps it should be. John > On Aug 10, 2017, at 12:01 PM, John Baughman wrote: > > >> On Aug 10, 2017, at 11:17 AM, Keisuke Miyako via 4D_Tech >> <4d_tech@lists.4d.com

livedoc 4D v16 R5??

2017-08-10 Thread John Baughman via 4D_Tech
Just on the livedoc site and noticed a new tab… 4D v16 R5 Nothing in the tab, but the next tab over is 4D v16 R4 BETA. H what's up with that? Probably just a transient thing and likely a mistake, but interesting. John John Baughman Kailua, Hawaii (808) 262-0328 john...@hawaii.rr.com

Re: 4D Write Pro interface plug in or component?

2017-07-10 Thread John Baughman via 4D_Tech
I have a similar situation and found the provided widget to be somewhat lacking and not very intuitive. I am currently in the process of upgrading a couple of database that use 4D Write extensively with as with Don’s case very complex forms. What I have done is to add pages to the form that

R3 Windows 32bit server?

2017-07-08 Thread John Baughman via 4D_Tech
When I download the 32bit full installer I am only getting 4D. Is there an R3 32bit server for windows? ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html

Re: R3 Windows 32bit server?

2017-07-08 Thread John Baughman via 4D_Tech
; > http://download.4d.com/Products/Current/4D_16R3/installers/4D_Server_v16_R3_Windows_32-bit.exe > > > Randy Engle > XC2 Software LLC – XC2LIVE! > > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of John > Baughman via 4D_Tech

Re: Arrays vs Object for Key/Value pair lookups

2017-07-20 Thread John Baughman via 4D_Tech
I have been loosely following this thread and thought I would share my first use of C_OBJECT. Many years ago I inherited a 4D database that David Adams, yes you David, had done some work on. Specifically he had crated a web interface for it and used much of what he talked about in one of his

Re: Use of Objects vs Global Variables (Was 'Arrays vs Objects...)

2017-07-21 Thread John Baughman via 4D_Tech
I always get amused whenever the discussion on the NUG turns to the evils of global variables. Lacking a computer science background most of the discussions in this vain go way over my head. I am a self taught 4D guy who over the years, for reasons I know not why, have taken a minimalist

Re: Use of Objects vs Global Variables (Was 'Arrays vs Objects...)

2017-07-22 Thread John Baughman via 4D_Tech
use, scope, and in some cases longevity. John > On Jul 21, 2017, at 5:10 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > On Sat, Jul 22, 2017 at 12:56 PM, John Baughman via 4D_Tech > 4d_tech@lists.4d.com> wrote: > >> Lacking a computer sci

Re: External data storage question

2017-08-04 Thread John Baughman via 4D_Tech
On Aug 4, 2017, at 1:25 PM, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> wrote: > For this specific issue, I wonder if the behavior is mentioned in the > references to "custom mode" in the 'External Data Storage' documentation here; >

Re: External data storage question

2017-08-06 Thread John Baughman via 4D_Tech
cally, with Picture Size for example, the results will be for the original picture not the update. - > On Aug 3, 2017, at 1:21 PM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I recently changed storing a picture field outside the dat

Using c_object for passing parameters

2017-08-09 Thread John Baughman via 4D_Tech
I started using the c_object just recently and am finding more and more places to adapt it’s use. I thought my latest revelation was interesting, at least to me. I was creating a process that involves several levels of user interaction. In other words the user is presented with a list with

Anybody using the TimePicker widget - TimePicker SET STEP

2017-08-09 Thread John Baughman via 4D_Tech
I have been using this for a very long time and always with a 45 min step. Now I need to set it to a 10 min step Y calling.. TimePicker SET STEP ($ObjectName;?00:10:00?) Nothing happens. It stays at 45 mins. Any ideas? John John Baughman Kailua, Hawaii (808) 262-0328

Re: External data storage question

2017-08-04 Thread John Baughman via 4D_Tech
Kirk, Correct me if I am wrong but, there is no choice with external data and client server as the external data folder is on the server machine. The managing of the external file has to be done on the server and a trigger is the logical place to do it as the external file has to be

Re: Preventing Duplicate Data WAS UUID vs Longint primary key

2017-08-07 Thread John Baughman via 4D_Tech
What I have done is to have a field in the table that contains the keys that make the record unique with all spaces, special characters, and vowels removed, as well as eliminating any consecutive consonants . See my example below. So far this has worked pretty well for me and I guess would

Batch file and 4DLink file on windows 2008 server

2017-08-17 Thread John Baughman via 4D_Tech
I have a batch file for 4D server working to start 4D Server when the machine starts up. I am trying to create a batch file for 4D client, but cannot get the client to open the remote database. This is for a client on the same machine as the server. The batch file looks like this… START ""

Re: 4D Write Pro Interface component

2017-05-08 Thread John Baughman via 4D_Tech
That’s interesting. I am running v16.1 and it is not in the Property List as depicted in the blog post. Did it not make the cut for v16.1? I am assuming the 16.1 is a later release than 16R2. John > On May 8, 2017, at 4:28 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >

Option drag and drop vs Sierra

2017-05-15 Thread John Baughman via 4D_Tech
Anyone running OS X Sierra, pleas test in the Method Editor. For me Option drag and drop does not work. Tried it in v14 and v16. Anyone know if this is already a reported bug? John ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Is it possible to do a search in the file system from 4D

2017-05-16 Thread John Baughman via 4D_Tech
Keisuke, A great idea. I was not even aware that a file number existed. I am thinking, however, that the possibility of the number changing makes this approach a bit scary. Especially considering that a backup recovery would in fact change the file’s numbers, something I have no

Re: Option drag and drop vs Sierra

2017-05-15 Thread John Baughman via 4D_Tech
Spring, AB Canada > 403-626-3236 > <can...@synergyfarmsolutions.com> > > > >> On May 15, 2017, at 2:20 PM, John Baughman via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> Anyone running OS X Sierra, pleas test in the Method Editor. For me Option >> drag an

Is it possible to do a search in the file system from 4D

2017-05-16 Thread John Baughman via 4D_Tech
I am thinking that perhaps using Launch External Process there might be a way to search for a file and get back the path to the file if found. I have a method that recursively crawls through a volume or folder to locate a file, but it is relatively slow. It is pasted below. Any ideas to make

Pictures & 4D Write Pro

2017-05-09 Thread John Baughman via 4D_Tech
The only way that I see to insert a picture into a 4D Write Pro documents is with the WP INSERT PICTURE command. One cannot simply paste a picture into the document. Also unlike 4D Write I see no way to insert a picture “Behind Text”. Have I missed something? Without the ability to place images

Re: Is it possible to do a search in the file system from 4D

2017-05-16 Thread John Baughman via 4D_Tech
7, at 12:32 PM, Jeffrey Kain via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> Which version of 4D are you using? Some versions have a bug in LEP that >> causes them to use 100% of the CPU when they are waiting for the result, >> thus drastically slowing

Re: Is it possible to do a search in the file system from 4D

2017-05-16 Thread John Baughman via 4D_Tech
t; $_txt_OSASCRIPT:="mdfind "+Char(34)+$_t_DocumentPath+Char(34) > $_t_InputStream:="" > $_t_OutputStream:="" > LAUNCH EXTERNAL PROCESS($_txt_OSASCRIPT;$_t_InputStream;$_t_OutputStream) > > > > >> On 16 May 2017, at 07:59, John Baughman

Re: Is it possible to do a search in the file system from 4D

2017-05-16 Thread John Baughman via 4D_Tech
utStream;$pathFound) $pathFound is returned empty. It works in the command line manually. The response is quite a bit different than mdfind on the mac, but the path is there. Any suggestions would be appreciated. John > On May 16, 2017, at 11:15 AM, John Baughman via 4D_Tech > <

Re: Is it possible to do a search in the file system from 4D

2017-05-16 Thread John Baughman via 4D_Tech
html > > it has some other useful options too (Ignore invisible, Absolute path) > tha makes a lot of previous code for recursive searching pretty redundant. > > > 2017/05/16 15:59、John Baughman via 4D_Tech <4d_tech@lists.4D.com> のメール: > > > > I have a method

Re: Is it possible to do a search in the file system from 4D

2017-05-16 Thread John Baughman via 4D_Tech
Keisuke, For some reason I am getting posts to the NUG from you without content… > On May 16, 2017, at 12:03 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > This message contains a digitally signed email which can be read by opening > the attachment. Got 2

Re: Is it possible to do a search in the file system from 4D

2017-05-16 Thread John Baughman via 4D_Tech
to be deleted. My text to array method returns an empty >> last element. >> >> //End if >> $0:=$pathFound >> >>> On May 16, 2017, at 12:32 PM, Jeffrey Kain via 4D_Tech >>> <4d_tech@lists.4d.com> wrote: >>> >>> Which version of

Re: Is it possible to do a search in the file system from 4D

2017-05-16 Thread John Baughman via 4D_Tech
ess array, >>> and returns the first element in the array. The caller can then either use >>> the returned path or the array. >>> // //Also, be aware that $pathFound ends with a \n. So the last element of >>> the array may need to be deleted. My text to arra

Re: Is it possible to do a search in the file system from 4D

2017-05-16 Thread John Baughman via 4D_Tech
ns the first element in the array. The caller can then either use >>> the returned path or the array. >>> // //Also, be aware that $pathFound ends with a \n. So the last element of >>> the array may need to be deleted. My text to array method returns an empty >>>

Deploying with R release?

2017-06-04 Thread John Baughman via 4D_Tech
v16 R2 has a feature that I want to include in an upgrade from v15 to v16. I am pondering the consequences of deploying an R release... 1. It will not include any bug fixes since v16.0 16R2 Modified date = 3/15/17 16 .1 Modified date = 4/19/17 16.1 hf1 Modified date =

Re: Printing ListBox that is longer than a single page

2017-06-03 Thread John Baughman via 4D_Tech
End if Note that for this to work the loading of the listbox has to be in the listbox on load event, not the forms on load event. John > On Jun 3, 2017, at 12:03 PM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I want to print a form that contains a sin

Re: GET PRINT OPTION value2 typing

2017-05-31 Thread John Baughman via 4D_Tech
I just answered my own question. Just use 2 different variables. Duhhh. That being said, the compiler never complained before. Why now. John > On May 31, 2017, at 9:07 AM, John Baughman wrote: > > The compiler in v16 is complaining that the 3rd parameter in GET PRINT

GET PRINT OPTION value2 typing

2017-05-31 Thread John Baughman via 4D_Tech
The compiler in v16 is complaining that the 3rd parameter in GET PRINT OPTION type is unknown.It can either be a longint or text value so how do you type the variable? In my particular case the answer is easy as I am only using it to get the destination option so can type it as text. What do

4D Printer Central down?

2017-06-04 Thread John Baughman via 4D_Tech
Did Partner Central just go down? Trying to submit a bug report and cannot get to the log in window for Partner Central. I can get to 4D.com but when I click on Existing 4D Partner? Log In the browser hangs.

.ExternalData folder outside of the database folder?

2017-06-10 Thread John Baughman via 4D_Tech
As I read the docs, there is no way to have the .ExternalData folder anyplace other than inside the database folder and still have 4D manage the files. I guess the mode “Automatic Location/Use default folder” says it all. My question is, why can’t the path to the default folder be defined by

Re: Desktop DBMS engines

2017-06-11 Thread John Baughman via 4D_Tech
I would not call Xojo a DBMS. It is an IDE for development of macOS, Windows, Linux, web, IOS, and Raspberry PI applications. It has no database. SQL Server Management Studio? Maybe not as you can’t create the user interface with it. Microsoft Visual Studio John > On Jun 11, 2017, at 7:37 AM,

Re: 4D Web Store Approach...

2017-06-09 Thread John Baughman via 4D_Tech
I recently completed a similar project where I needed to serve over 300gb of pdfs managed by 4D. I used a Xojo web app as the front end web server. With 4D listening on a port not accessible from the outside, Xojo passes search criteria as an http request via local host to 4D and 4D returns via

4D Write Pro Interface component

2017-05-08 Thread John Baughman via 4D_Tech
Can someone point me to instructions on how to use the 4D Write Pro Interface component. Thanks, John ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html

Re: Counting # of specific characters in string/text

2017-05-04 Thread John Baughman via 4D_Tech
Quick and dirty ideas… $text:="Now is the time for all good men to come to the aid of their country" ARRAY TEXT($aWords;0) GET TEXT KEYWORDS($text;$aWords) $wordCount:=Count in array($aWords;"The") COPY ARRAY($text;$textTest) $characterCount:=0 While (Position("e";$textTest)>0)

Re: 4D Write Pro Interface component

2017-05-08 Thread John Baughman via 4D_Tech
Thanks John, At this point I am not sure what the component brings to the table. Opening the component I see that it is using the 4D Write Pro Widget that is available i the library without the component. When I open my database with the component in the component folder, I

Re: Printing ListBox that is longer than a single page

2017-06-05 Thread John Baughman via 4D_Tech
-Ursprüngliche Nachricht- > Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von John > Baughman via 4D_Tech > Gesendet: Sonntag, 4. Juni 2017 00:03 > An: 4D iNug Technical <4d_tech@lists.4d.com> > Cc: John Baughman <john...@hawaii.rr.com> > B

Re: Object fields (Was: Re: QUERY BY ATTRIBUTE is slow af)

2017-09-13 Thread John Baughman via 4D_Tech
In my mind a variable is the same thing as a key value pair. The variable name is the key and the data the variable contains is the value. I name all variables with a user readable name so what is the difference between a variable named vFirstName that contains “John” and oObj.firstname that

Re: read from a MS SQL server with 4D

2017-09-13 Thread John Baughman via 4D_Tech
I have not done anything in 4D with MS SQL Server, but have done quite a bit of scripting using SQL Server Management Studio (SQLSMS). It is very easy to work with SQLSMS and I taught myself how to write the scripts by copying example scripts from the internet and running them in SQLSMS,

Re: 4D v16.2 false record locks

2017-10-04 Thread John Baughman via 4D_Tech
I am going to chime in here with a recent real world experience. A while back I posted to the NUG a problem that I was having with external data storage using custom mode. When the data was updated and properly saved to the external data folder, the field continued to display the old version of

Re: 4D v16.2 false record locks

2017-10-06 Thread John Baughman via 4D_Tech
> On Oct 6, 2017, at 6:24 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I do this: > <>Doc_Ref:=Open Document Great idea. That is unless you think global variables are evil ;-) As any one working in 4D for any length of time knows, you have to close a document as soon as

Re: How do workers die?

2017-10-06 Thread John Baughman via 4D_Tech
On Oct 5, 2017, at 11:06 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > > * New process () / Execute on server () When they finish, they're dead. > They're supposed to release file locks, record locks, etc. If you start a > new copy of the process with the same name, it starts off

Re: 4D v16.2 false record locks

2017-10-06 Thread John Baughman via 4D_Tech
OOOPS! In my last example with the worker killing itself there should only be one line… CALL WORKER(“worker”;”LogSomething”) //worker opens the file/logs something to the file/closes the file/Kills itself Don’t need to kill the process again. John > On Oct 6, 2017, at 12:32 PM, John

Re: 4D v16.2 false record locks

2017-10-06 Thread John Baughman via 4D_Tech
Hi David, How/when are you killing the worker. You must give the worker time to close the file. This will not work… CALL WORKER(“worker”;”LogSomething”) //worker opens the file/logs something to the file/closes the file KILL WORKER(“worker”) The worker will be killed before it

Query By Attribute vs Map NULL values to blank values

2017-10-08 Thread John Baughman via 4D_Tech
The documentation for Query by Attribute discusses at length how a # query performs with or without the Map NULL values to blank values checked. I do not see this checkbox in the field Explorer window for an Object field. Am I missing something here? It is there for other types of fields but

Re: Canvas alternative

2017-10-02 Thread John Baughman via 4D_Tech
we are open to the idea of > trying something else. > > Drew > > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of John > Baughman via 4D_Tech > Sent: Friday, September 29, 2017 3:35 PM > To: 4D iNug Technical > Cc: John Baughm

Re: Canvas alternative

2017-10-02 Thread John Baughman via 4D_Tech
t; But can you add the same options to your SVG objects as you can with > Canvas? Events, callbacks, resizing controls, etc. > > Pat > > On 2 October 2017 at 21:15, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >> Drew, >> >>Ahh yes.

Re: Deprecated Constants

2017-10-10 Thread John Baughman via 4D_Tech
By coincidence, I am cleaning up a v14 database for deployment this afternoon as a v16 R4 database. A couple of thoughts on your question… > _o_Extras Folder The extras folder was deprecated in v11 I think with instructions to use the Resource folder. > The other 9 entries relate to

Re: 4D v16.2 false record locks

2017-10-15 Thread John Baughman via 4D_Tech
t;> On Oct 11, 2017, at 11:09 PM, Alan Tilson via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> Hey John, >> How did you end up in Hawaii? >> Alan >> >> On Wed, Oct 4, 2017 at 10:02 PM, John Baughman via 4D_Tech < >> 4d_tech@lists.4d.com&

Anyone using 4D Write Pro with a semblance of success?

2017-10-15 Thread John Baughman via 4D_Tech
I am trying to set an image to the background. No matter what I do the image vertical size depends on how many lines I have on the page. Using both the contextual menu and the widget, I have set the Horizontal and Vertical sizes in points. but if the number of lines is anything less than enough

Re: Anyone using 4D Write Pro with a semblance of success?

2017-10-16 Thread John Baughman via 4D_Tech
Thanks Jim. I will take a look at the component. It looks interesting. I was aware if the blog entry, but my point in that regard is why. It’s great that the developer can create their own user interface, but shouldn’t 4D Write Pro have a built in user interface? At least that is what I

Re: Anyone using 4D Write Pro with a semblance of success?

2017-10-16 Thread John Baughman via 4D_Tech
Tim… +1 for everything you said. > The current environment will allow 4D Write plugin and 4D Write Pro to > coexist. You can migrate slowly and as needed. What I have done is add a page to their correspondence form where I can experiment with 4D Write Pro. A radio button, 4D Write/4D Write

Re: Quickbooks 2014/4D 2014/QB SDK 13.0

2017-09-05 Thread John Baughman via 4D_Tech
I have a v14 database deployed that talks to Quickbooks desktop on Windows 7. I can’t remember now if I ever posted to the NUM how I ended up doing it. I haven’t touched the code for over a year so could not tell you in detail how it all works now. If you read the SDK you will see that there

Re: Quickbooks 2014/4D 2014/QB SDK 13.0

2017-09-07 Thread John Baughman via 4D_Tech
Book + Parallels for QB. > > Since PowerShell = Windows, is it correct that she'd have to run 4D on > Windows to use this approach? > > > -- > Douglas von Roeder > 949-336-2902 > > On Tue, Sep 5, 2017 at 8:55 PM, John Baughman via 4D_Tech < > 4d_tech@lists.4d.com&g

Re: Listbox Spacing Between Columns

2017-09-23 Thread John Baughman via 4D_Tech
This may not work for your situation, but I have used a dummy column to provide visual spacing between columns. Not a great solution but it has worked well enough for me in the past. John > On Sep 23, 2017, at 5:10 PM, Sannyasin Siddhanathaswami via 4D_Tech > <4d_tech@lists.4d.com> wrote: >

Re: No longer able to get to user / design mode

2017-10-01 Thread John Baughman via 4D_Tech
Michael, Thanks for asking the question. For some reason I was using Control+Option+Command+right click for Mac OS. After reading your post and Mayako’s response I too thought senior moment. Then I tested further… Control+Option+Command+right click - works Option+Command+right click -

Re: Canvas alternative

2017-09-29 Thread John Baughman via 4D_Tech
I moved a medical office scheduling dialog I had rolled myself to Canvas a while back and have been very happy with it. I was especially glad I had made the move recently when I had to change appointment minimum times from 15 mins to 10 mins. All I had to do was change a variable. Curious as

Re: Listbox Spacing Between Columns

2017-09-25 Thread John Baughman via 4D_Tech
I too made the switch a year or so ago. For me it was relatively easy as, is my habit, I wrapped nearly all the AeaList commands and so only had to modify my wrapping methods to make the switch. I have not looked back and to date have not found anything I could do with AreaList that I could not

Re: Is it possible to put a SVG file directly on a form?

2017-09-25 Thread John Baughman via 4D_Tech
The only way to display the SVG in a form that I know of is in a picture variable or field. Using SVG_Export_To_picture, store the SVG in a picture field or variable and display it on the form. I store the SVG in a field. On a form I retrieve the SVG from the picture field with

Re: OB Copy, New Object, or $1

2017-09-02 Thread John Baughman via 4D_Tech
> On Sep 2, 2017, at 11:50 AM, Douglas von Roeder via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > When I use C_Object, it's > > C_Object($O_;$1) > $O_:=$1 Unless you are using the OBJ Module component, this syntax would not allow dot notation. Now that R4 beta includes dot notation

OB Copy, New Object, or $1

2017-09-02 Thread John Baughman via 4D_Tech
In order to use dot notation a c_object must have been initialized. So when passing a c_object as a parameter to a method you cannot use dot notation on the object as you might normally do with any other kind of parameter. This will not work... C_Object($myCoolObject;$1)

Re: OB Copy, New Object, or $1

2017-09-03 Thread John Baughman via 4D_Tech
I just went back and tested the same code I started this thread with and found that $oCallerObject:=$1 works. Not sure why it did not work before. I am certain that the action property existed as by just replacing $oCallerObject:=$1 with $oCallerObject:=OB Copy($1) it would work. Also I spent

Re: Making LOG EVENT thread-safe

2017-10-09 Thread John Baughman via 4D_Tech
> On Oct 8, 2017, at 5:53 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Oh, I forgot to say earlier about John's finding of ~2.1M messages being a > kind of breaking point...that number may not be replicable in other tests. > You might find a different number. The payloads in

Re: Making LOG EVENT thread-safe

2017-10-08 Thread John Baughman via 4D_Tech
> Once it happens, you get all kinds of weird stuff - > duplicate workers with "unique" names, the runtime monitor gets super buggy > and starts throwing range errors...until you're dead. If you *don't* find > this result on your gear, please post what version of 4D you're testing > with. Yes I

Re: Query By Attribute vs Map NULL values to blank values

2017-10-09 Thread John Baughman via 4D_Tech
Keisuke, No sure I understand your response. I am working in R4 and was trying to query on an object field and thought I could leave the field undefined using Query By Attribute. Not so, but I am content with initializing all the records with an object so the the query works

Re: 4D Client as Web Server - How to monitor

2017-10-04 Thread John Baughman via 4D_Tech
At first I thought, hey an excellent place for Call Worker or Call Form. Then after thinking it though decided that would be more complicated then needed. If it were me, I would put an object field in a table, in my case my constants table, and pass the status in that field. Using this field

Re: Making LOG EVENT thread-safe

2017-10-11 Thread John Baughman via 4D_Tech
Got an email from Timothy Penner yesterday pointing out that in his testing of this issue he has concluded that the crash occurs because 4D is being pushed past it’s memory limits. That is if run using the 32bit version of 4D. Tim suggested that we run the test using the 64 bit version of 4D.

Re: Making LOG EVENT thread-safe

2017-10-11 Thread John Baughman via 4D_Tech
One thing I forgot to mention/ask… David’s test routine runs significantly faster with 32-bit 4D than it does with 64-bit 4D. Any ideas as to why this might be the case? To refresh memories as to what the test is doing… For ($1;1;10) $prsNum:=New Process(“TestProcess”.0;”TestProcess”)

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
> wrote: > > >> On Oct 18, 2017, at 6:22 PM, John Baughman via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> There is nothing in the path names that require encoding ie.. WA OPEN >> URL(waDocument;"file://"+$posixPath) and WA OPEN

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
le. > >> 2017/10/19 8:22、John Baughman via 4D_Tech <4d_tech@lists.4d.com> のメール: >> Is there something I am missing in your response as to why the pdfs do not >> display on the Mac? > > > > > **

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
as its data source, >> run it, >> drag and drop a file to the web area, >> and check what is displayed in the url variable. >> >>> 2017/10/19 8:22、John Baughman via 4D_Tech <4d_tech@lists.4d.com> のメール: >>>

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
I think the problem may be High Sierra. Enabling the Adobe PDF viewer in Safari High Sierra > On Oct 18, 2017, at 10:46 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Try updating Adobe > > > On Thu, 19 Oct 2017 at 7:43 pm, John Baughman via 4D_Te

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
David, I hear you. I am being a bit stubborn just because it should be working, it isn’t, and I want it to. This is being deployed on windows and it is working just fine there. So no need to buy anything, but it’s annoying that it does not work on the Mac. I think I am going to call TS and

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
I just checked and on my mac I did not have the adobe plug-in in the User’s library folder but it was in the System Library folder. I removed it from the system library folder and the 4D Web Area still does not display a pdf. Also tried putting it in the Users library to no avail. > On Oct

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
Oops did not finish a sentence… The process to enable AdobePDFViewer in Higfh Sierra appears to have changed a bit. Maybe it changed earlier, but I did not notice. > On Oct 18, 2017, at 11:13 PM, John Baughman via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > > I think th

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
r an assignment >> to the URL variable associated to the area). > > source > > http://doc.4d.com/4Dv16R4/4D/16-R4/Web-areas.300-3330400.en.html#3199104 > > I know your situation doesn't quite match that of the documentation, but > worth a shot... > >> 2017/

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
R4 > On Oct 18, 2017, at 10:33 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Which version of 4D? > > On Thu, 19 Oct 2017 at 7:28 pm, John Baughman via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Not running 64-bit so I don’t

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
ech <4d_tech@lists.4d.com> > wrote: > > That’s disappointing > > Which version of 4D? > > Is integrated web kit ticked? > > I had a similar issue but don’t remember what fixed it. > > > On Thu, 19 Oct 2017 at 7:11 pm, John Baughman via 4D_Tech < >

64-bit Client Server on Windows question

2017-10-18 Thread John Baughman via 4D_Tech
Hope this is not a dumb question… I am just dabbling with 64-bit 4D without any understanding about what needs to be done to deploy a database with 64-bit 4d. I do most of my development on a mac and deploy as required to mac and windows. I have a rather simple database born 32-bit on a mac

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
t; Windows: file:///C:/MyFolder/My%20File.html > macOS: file:///MyFolder/My%20File.html > > in addition, the Convert path system to POSIX has a * option for percent > encoding. > >> 2017/10/19 6:22、John Baughman via 4D_Tech <4d_tech@lists.4d.com

PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
I have a Web Area on a form that works fine when run on a windows machine but not on a mac. I am using the following code on load of the form… If (Test path name([Document]File_Path)=Is a document) $posixPath:=Convert path system to POSIX([Document]File_Path)

Re: 64-bit Client Server on Windows question

2017-10-18 Thread John Baughman via 4D_Tech
Thanks Tim.. right on. If I turn on the network layer I can log into the server with the 64-bit client. OK then… Now the 4D Web Area that I asked a question about in a different post to the NUG, no longer uses the Adobe Reader plug-in. It opens in a separate window in adobe reader. The Web

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
Ortwin. I tried with both in, both out, one or the other in and out and the Web Area still refuses to display the PDF. The area remains blank. To all who have tried to help in this regard… I will have to put this aside for now. Probably make a call to Tech Support just to see if perhaps it

Re: Debug window messed up

2017-11-12 Thread John Baughman via 4D_Tech
v13.4DPreferences file... Macintosh HD:Users:johnbdh2:Library:Application Support:4D:4D Preferences v13.4DPreferences Hope that helps someone else down the road. Thanks again to Stephen for the help. John > On Nov 12, 2017, at 4:47 PM, John Baughman via 4D_Tech <4d_tech@lists.

Can't start a Transaction

2017-11-14 Thread John Baughman via 4D_Tech
I have button on an input form I am using for testing purposes that runs… Case of : (Form event=On Clicked) & (Not(In transaction)) START TRANSACTION End case But the transaction never starts. What’s up with that? Thanks, John John Baughman Kailua, Hawaii (808)

  1   2   3   4   >