New Gmail interface does not render carriage returns as Line breaks in 4D plain text Emails

2018-08-02 Thread Dave Nasralla via 4D_Tech
Hey all,

This may be a bit obscure for most. Our system (for decades) has sent
plain text emails (mostly alerts and short notices). It's never been
an issue until the new Gmail interface. The new interface does not
render line breaks sent as a carriage return. Everything just runs
together. Line breaks sent as a carriage return plus line feed do
render correctly. Every other email client I have tested does fine
with just carriage returns (including the old Gmail interface.)

I know the RFC rules for headers require a CRLF, but it is less clear
about a message body.
I have an ongoing case with the G Suite tech support. We'll see what happens.

Side note: The funny thing about the G Suite tech support is that they
could not give me a gmail address I could send a demo email to show
them the issue directly. Instead the had me use the developer tools in
chrome to record a session. When I asked why they could not simply
look at the email in the gmail interface, they said they did not have
access to gmail from their system for security reasons. The irony
seemed a bit thick.

dave

-- 
David Nasralla
Clean Air Engineering
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: V17 client crash on open

2018-08-02 Thread James Brown via 4D_Tech
Yeah, that has to be it - thanks Tim. Early 2008 iMacs were the first to have 
the SSE 4.1 instruction set.

Wish I had thought of this before! Have spent ages trying to figure it out. 
Just assumed that it was a permissions thing or corrupt file somewhere. Never 
thought it was a CPU limitation. 

This is actually good news, as I can now simply use Time Machine to migrate to 
the new iMac he’ll get on Monday! Because I thought it was a corrupt file I was 
going to start from scratch recreating his environment piece by piece.

Thanks again Tim.

James.

> On 3 Aug 2018, at 7:45 am, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Oops, looks like I missed this detail:
> 
>> The client machine is a 2007 iMac running 10.11.6.
> 
> Based on that, I would assume the CPU in this machine may be missing the 
> SSE4,1 instruction set, which exists in most cpu's starting in 2008, and is 
> required if using 64 bit versions of 4D.
> 
> Here is a reference for this requirement from a previous cert matrix:
> http://download.4d.com/Documents/Products_Documentation/LastVersions/Line_16/VIntl/4D_v16_3_Certif_EN.pdf
> 
> • (1) Instruction set SSE 4.1 must be available if using 64-bit 4D 
> applications. SSE 4.1 exists in most Intel CPU’s starting 2008.
> For details see: https://en.wikipedia.org/wiki/SSE4
> 
> This requirement is specific to using 64 bit versions of 4D.
> 
> -Tim
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: is it possible to rename the data file?

2018-08-02 Thread webmaster namethatplant.net via 4D_Tech
Thank you, Chip and Chuck!
I was afraid that if I fiddled with the names it might somehow corrupt the 
"strong link" between v12's structure and data files. 
For the archives, I changed the names of the .DD, .INDX, and .MATCH files, also 
the backup files .BK AND .BL.

Why v12? Well, it's closer to current than v2004, and I was not up to the 
challenge of leaping all the way to 15, 16 or 17 in one go, much as I might 
have liked to. Besides, v12 is paid for... :-)

Thanks again -
Janie

---
On August 2, 2018 at 3:47 PM Charles Miller wrote:
A. why are you going to v12. 
B yes you can change name but the server or standalone can not be running when 
you do it. I do not remember in v12 what naming conventions were re 4D, so it 
may not be just the data file you need to rename
Regards
Chuck

---
On August 2, 2018 at 3:46 PM Chip Scheide <4d_o...@pghrepository.org> wrote:
at the desktop (OS) level rename the data file.
on start up the database will ask you where the data file is.
point it to the newly renamed data file.

---
On Thu, 2 Aug 2018 15:42:48 -0400 (EDT), webmaster namethatplant.net via 
4D_Tech wrote:
Is it possible to rename the data file in v12?
After converting a v2004 database to v12, but before I'd finished 
making the necessary changes to the code, I converted datafile 
updates more than once. Unfortunately, I forgot to change the name of 
the datafile on the last conversion, so it has the old (v2004) name.
Too late to import again: it's got two weeks worth of new data.
I guess it doesn't hurt anything, but it's confusing and untidy, 
especially when looking at the backup files.
Is there any way to (easily) fix this?
Thank you -
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Query by Formula bug Client/Server with Automatic Relations

2018-08-02 Thread Keisuke Miyako via 4D_Tech
thank you for the correction and clarification!

incidentally, is the query executed from a UI (i.e. running the query on a 
table form)?

what is the status of the "execute formula on server" compatibility setting?

2018/08/03 2:47、Richard Wright via 4D_Tech 
<4d_tech@lists.4d.com>のメール:

The incorrect behavior in step 2 is not dependent on the query conditions or 
whether or not any records are found. It happens if you simply do the following:

Query Selection by Formula ([Many_Table];True)



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v13+ Unicode characters 1-7

2018-08-02 Thread Keisuke Miyako via 4D_Tech
as indicated in the wikipedia post, setting xml version to "1.1" could be a 
solution.

> 2018/08/03 7:54、Timothy Penner via 4D_Tech <4d_tech@lists.4d.com>のメール:
> I think this may be a limitation of XML...
> https://en.wikipedia.org/wiki/Valid_characters_in_XML




**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: v13+ Unicode characters 1-7

2018-08-02 Thread Timothy Penner via 4D_Tech
> I had a problem getting that character (Char(12)) to work as a Konstant...
> Which is also why char(12) and not char(11) I could not get the Konstant xml 
> parser to accept Char(11).

I think this may be a limitation of XML...
https://en.wikipedia.org/wiki/Valid_characters_in_XML

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Off - Apple OS Server

2018-08-02 Thread Ronald Rosell via 4D_Tech
Regarding the web server, if you’re just serving static content, then having 
your ISP host is usually fine.  

If you have a website front end that integrates with 4D then you can continue 
to use MacOS to serve your site.  All that Apple is doing is unbundling some 
third-party applications, like Apache, that have been delivered with OS-X 
Server.  Apache is in fact included with the core OS anyway;  OS-X server has 
just providing a control panel to handle a few configuration aspects, many of 
which (like proxypass) you’d end up editing manually in the config file anyway. 
 (The control panel only managed the most rudimentary aspects of setting up an 
Apache site.). 

There are plenty of other ways to manage Apache on a MacOS server without using 
the Websites section of OS-X Server.  Apple says they will be providing 
information on downloadable alternatives;  a Google search will also point you 
to alternatives.

Ron Rosell

__

Ron Rosell
President
StreamLMS

301-3537 Oak Street
Vancouver, BC V6H 2M1
Canada

Direct phone (all numbers reach me)
Vancouver: (+1) (604) 628-1933  |  Seattle: (+1) (425) 956-3570  |  Palm Beach: 
(+1) (561) 351-6210 
email: r...@streamlms.com   |  fax: (+1) (815) 
301-9058  |  Skype: ronrosell

> On Aug 2, 2018, at 7:48 AM, npdennis via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> Web - I’m thinking of using my ISP

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: V17 client crash on open

2018-08-02 Thread Timothy Penner via 4D_Tech
Oops, looks like I missed this detail:

> The client machine is a 2007 iMac running 10.11.6.

Based on that, I would assume the CPU in this machine may be missing the SSE4,1 
instruction set, which exists in most cpu's starting in 2008, and is required 
if using 64 bit versions of 4D.

Here is a reference for this requirement from a previous cert matrix:
http://download.4d.com/Documents/Products_Documentation/LastVersions/Line_16/VIntl/4D_v16_3_Certif_EN.pdf

• (1) Instruction set SSE 4.1 must be available if using 64-bit 4D 
applications. SSE 4.1 exists in most Intel CPU’s starting 2008.
For details see: https://en.wikipedia.org/wiki/SSE4

This requirement is specific to using 64 bit versions of 4D.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: V17 client crash on open

2018-08-02 Thread Timothy Penner via 4D_Tech
Hi James,

Delayed response here - not sure if you are still seeing the issue or not, but 
the paths listed in the crash report seems like you may be running 4D from 
either the DMG itself or from a translocated (read-only) folder.

The path listed at the top of your crash report is:
/Volumes/VOLUME/*/4D.app/Contents/MacOS/4D

The path listed a bit lower in the crash report is:
/Volumes/4D v17.0 Release/4D v17.0/4D.app/Contents/MacOS/4D


The first path seems like a translocated path; the type of path observed when 
Gatekeeper places the application in a read-only quarantine location. This can 
happen for various reasons depending on how an app is distributed and/or 
installed.

The seconds path seems like the actual DMG that the application is distributed 
on; are you running the application from the DMG or has the application been 
installed properly into the Applications folder?

In either case, I think it would be a good idea to re-download the v17 
installation DMG from the official 4D website and then reinstall it on that 
machine using the freshly downloaded DMG. Make sure to copy the application 
from the DMG to the /Applications/ folder before attempting to launch the 
application.

Let me know if that helps!

Kind Regards,

Tim PENNER





-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of James Brown via 
4D_Tech
Sent: Monday, July 30, 2018 6:29 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: James Brown 
Subject: V17 client crash on open

I’ve just updated our company’s 4D-based ERP app from v15.5 to v17.0. Compiled 
server app (macOS) and mix of Windows and macOS clients.

All works well except for one macOS client. No matter what I do 4D crashes 
trying to open.

Crash log:

Process:   4D [1985]
Path:  /Volumes/VOLUME/*/4D.app/Contents/MacOS/4D
Identifier:com.4d.4d
Version:   17.0 build 17.225365 (17.0.0)
Code Type: X86-64 (Native)
Parent Process:??? [1]
Responsible:   4D [1985]
User ID:   503

Date/Time: 2018-07-30 15:27:31.674 +1000
OS Version:Mac OS X 10.11.6 (15G20015)
Report Version:11
Anonymous UUID:51A1E191-9EDD-56BC-87A5-AE3D921BD371


Time Awake Since Boot: 2700 seconds

System Integrity Protection: enabled

Crashed Thread:0  Dispatch queue: com.apple.main-thread

Exception Type:EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:   0x0001, 0x
Exception Note:EXC_CORPSE_NOTIFY

Application Specific Information:
/Volumes/4D v17.0 Release/4D v17.0/4D.app/Contents/MacOS/4D

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libcrypto.1.0.0.dylib 0x000fd343 sha1_block_data_order + 99
1   libcrypto.1.0.0.dylib 0x000fd213 SHA1_Update + 163
2   libcrypto.1.0.0.dylib 0x00011126a265 ssleay_rand_add + 725
3   libcrypto.1.0.0.dylib 0x00011126bb72 RAND_poll + 850
4   libcrypto.1.0.0.dylib 0x00011126a613 ssleay_rand_bytes + 243
5   libssl.1.0.0.dylib0x000b7171 SSL_CTX_new + 769
6   com.4d.ServerNet  0x000110eb6f25 
xbox::SslFramework::XContext::Init() + 167
7   com.4d.ServerNet  0x000110eb7e0a xbox::SslFramework::Init() 
+ 95
8   com.4d.ServerNet  0x000110ec97c1 
xbox::VServerNetManager::VServerNetManager() + 49
9   com.4d.ServerNet  0x000110ec989a 
xbox::VServerNetManager::Get() + 40
10  com.4d.4d 0x00010ef5946f 
VWebSettings::VWebSettings() + 639
11  com.4d.4d 0x00010ef67c7d VWebServer::VWebServer() + 
43
12  com.4d.4d 0x00010ef6b066 
_GLOBAL__sub_I_VWebServer.cpp + 38
13  dyld  0x7fff69a3410b 
ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 265
14  dyld  0x7fff69a34284 
ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
15  dyld  0x7fff69a308bd 
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned 
int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 305
16  dyld  0x7fff69a30743 
ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, 
ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 127
17  dyld  0x7fff69a309b3 
ImageLoader::runInitializers(ImageLoader::LinkContext const&, 
ImageLoader::InitializerTimingList&) + 75
18  dyld  0x7fff69a230f1 
dyld::initializeMainExecutable() + 208
19  dyld  0x7fff69a26d98 dyld::_main(macho_header 
const*, unsigned long, int, char const**, char const**, char const**, unsigned 
long*) + 3596
20  dyld  0x7fff69a22276 
dyldbootstrap::start(macho_header const*, int, 

Re: Memory leak with dynamic variables in list boxes?

2018-08-02 Thread mferguson--- via 4D_Tech
Hi All,

The mystery opening the listbox demo database is solved. Apparently, the 
database I downloaded was set to open compiled by default, or my 4D 
installation must have a preference setting to that effect. The solution was to 
first open the 4D software, then navigate to the .db file, and then select the 
interpreted option from the dropdown menu in the lower right corner.

Thank you Miyako and everyone for all your patience and responses.

Michael



> On Aug 2, 2018, at 9:04 AM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Try bringing up the "User Interrupt" menu and select the Go to Design Mode 
> option. On the Mac it is control-option-click. Not sure about Windows.
> 
> John DeSoi, Ph.D.
> 
> 
>> On Aug 2, 2018, at 10:55 AM, mferguson--- via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> Puzzling. That doesn’t work on my Windows machine. It’s not a licensing 
>> issue because I am developing in v16.  :(
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: is it possible to rename the data file?

2018-08-02 Thread Charles Miller via 4D_Tech
A. why are you going to v12. B yes you can change name but the server or
standalone can not be running when you do it. I do not remember in v12 what
naming conventions were re 4D, so it may not be just the data file you need
to rename

Regards

Chuck

On Thu, Aug 2, 2018 at 3:42 PM, webmaster namethatplant.net via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Is it possible to rename the data file in v12?
>
> After converting a v2004 database to v12, but before I'd finished making
> the necessary changes to the code, I converted datafile updates more than
> once. Unfortunately, I forgot to change the name of the datafile on the
> last conversion, so it has the old (v2004) name.
>
> Too late to import again: it's got two weeks worth of new data.
>
> I guess it doesn't hurt anything, but it's confusing and untidy,
> especially when looking at the backup files.
>
> Is there any way to (easily) fix this?
>
> Thank you -
> Janie Marlow
> webmas...@namethatplant.net
> Travelers Rest, SC
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: is it possible to rename the data file?

2018-08-02 Thread Chip Scheide via 4D_Tech
at the desktop (OS) level rename the data file.
on start up the database will ask you where the data file is.

point it to the newly renamed data file.

On Thu, 2 Aug 2018 15:42:48 -0400 (EDT), webmaster namethatplant.net 
via 4D_Tech wrote:
> Is it possible to rename the data file in v12?
> 
> After converting a v2004 database to v12, but before I'd finished 
> making the necessary changes to the code, I converted datafile 
> updates more than once. Unfortunately, I forgot to change the name of 
> the datafile on the last conversion, so it has the old (v2004) name.
> 
> Too late to import again: it's got two weeks worth of new data.
> 
> I guess it doesn't hurt anything, but it's confusing and untidy, 
> especially when looking at the backup files.
> 
> Is there any way to (easily) fix this?
> 
> Thank you -
> Janie Marlow
> webmas...@namethatplant.net
> Travelers Rest, SC
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

is it possible to rename the data file?

2018-08-02 Thread webmaster namethatplant.net via 4D_Tech
Is it possible to rename the data file in v12?

After converting a v2004 database to v12, but before I'd finished making the 
necessary changes to the code, I converted datafile updates more than once. 
Unfortunately, I forgot to change the name of the datafile on the last 
conversion, so it has the old (v2004) name.

Too late to import again: it's got two weeks worth of new data.

I guess it doesn't hurt anything, but it's confusing and untidy, especially 
when looking at the backup files.

Is there any way to (easily) fix this?

Thank you -
Janie Marlow
webmas...@namethatplant.net
Travelers Rest, SC
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

autocomplete/ typeahead for a web application?

2018-08-02 Thread webmaster namethatplant.net via 4D_Tech
I would like to add an autocomplete/ typeahead function to a web application, 
and I'd be interested to know what y'all recommend that can work with 4D's 
built-in web server (v12.6).

Is anyone using Awesomplete? Does it work with mobile browsers?

I read that Twitter's Typeahead does not work with mobile browsers, also that 
it is no longer supported -- Can anyone confirm?


Thanks!
Janie Marlow
webmas...@namethatplant.net
Travelers Rest, SC
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Query by Formula bug Client/Server with Automatic Relations

2018-08-02 Thread Richard Wright via 4D_Tech
The selection of One records is not changed based on the Many records, the 
selection is lost. 

Further in the documentation it states:

> Some of the commands listed in the previous table (such as the query 
> commands) load a current record after the task is completed. In this case, 
> the record that is loaded does not automatically select the records related 
> to it. Again, if you need to access the related data, you must explicitly 
> select the related records by using RELATE ONE or RELATE MANY.

So, the Query commands should never automatically selected related records. 
However, they can use data from related tables when automatic relations is on. 
I think this is what is meant by the portion of the documentation you quoted. 
To be clear, I’m looping through a selection of One records, querying for 
related Many records and then further narrowing the selection of Many records 
using Query Selection By Formula:

Automatic Many-to-One is turned On
Get selection of One records and Loop. For each record:

1.  Query for related Many records - this does not affect the selection in the 
One table (correct according to the above documentation)
2.  Query Selection by Formula on Many records - this doesn’t just change the 
selection in the One table, it removes it. There is no selection anymore.

The incorrect behavior in step 2 is not dependent on the query conditions or 
whether or not any records are found. It happens if you simply do the following:

Query Selection by Formula ([Many_Table];True)


Richard Wright
DataDomain
rwri...@datadomainsoftware.com




> Date: Thu, 2 Aug 2018 00:56:13 +
> From: Keisuke Miyako 
> 
> according to the documentation:
> 
> http://doc.4d.com/4Dv17/4D/17/About-Relations.300-3730102.en.html
> 
> QUERY BY FORMULA "will use existing automatic Many-to-One relations" and 
> "will use automatic One-to-Many relations"
> 
> so as soon as a record of the many table becomes current, it automatically 
> changes the current record on the 1 table.
> 
> isn't that how automatic relations are supposed to work?
> 
> 2018/08/02 7:46、Richard Wright via 4D_Tech 
> <4d_tech@lists.4d.com>のメール:
> I discovered this in v16 R2 but it’s also a problem in v13.5. Has anyone else 
> seen this problem?



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Changes to variable initialization in v16?

2018-08-02 Thread Noah via 4D_Tech
So we saw this error pop up elsewhere in our beta test of v16 under the
same circumstances:

Error:"A variable was expected"
the line of code is: SET QUERY DESTINATION(Into variable;$LQueryResult)

Looking at the Unique Values project method in the example on this page:
http://doc.4d.com/4Dv16/4D/16.3/SET-QUERY-DESTINATION.301-3651871.en.html
led me to believe that I could declare the destination variable as a
C_LONGINT.

I added a declaration for the local variable $LQueryResult and the method
ran without a problem.

So has the behavior of SET QUERY DESTINATION changed in such a way that
(contrary to what is in the documentation), the variable must exist before
the method is called?



On Thu, Aug 2, 2018 at 7:12 AM Chip Scheide via 4D_Tech <
4d_tech@lists.4d.com> wrote:

>
> > In addition to consistency & clarity in showing variable type, do you
> from my 'Conventions' (all comment) method
>
>   //Variables
>   //all process or interprocess vars are preceded by a type designator
>   //I do not hold these conventions for local variables
>   //this is in the form of :
>   //letter(s)_variablename
>   //letters for designator are always lower case
>
>   //Variable names are always 1 word, with separate 'phrases' connected
> by an underscore
>   //the first letter of each 'phrase' is always capitalized.
>   //ex: al_My_Longint_Array
> variable naming specifics are NOT included here
>
> >do you
> > put   any / much / no   thought into using the variable names to
> > indicate business―vs technical―purpose?
>
> Depending on the code usage, it is not always possible to separate the
> 2 things - technical vs Business. If the code is generic (like might be
> found in a component) then the primary consideration for variable
> naming will be technical usage; however, Reporting, and/or user
> interface most often the usage in the interface is the paramount
> consideration for variable naming.
>
> i.e.
> Component : $Array_Pointer, $Loop_Counter, $Return_value
> Interface : r_Invoice_Line_Total, r_Invoice_Grand_total,
> l_Line_Item_Count
>
> For code that spans the gap, naming will be what seems to make the most
> sense. I *try* to make the code as readable, and 'self documenting' as
> possible, even in generic code I try to avoid code like this
> (completely made up):
>
> For ($i;1;$x)
>   $y:= $z+$A+$f*$t/$R+$G-$k
>   $v:=$y+$v
> end for
>
> and prefer code more like this (also made up):
>
> $Record_Count := Records in set("SomeSetName")
> 
> For($i;1;$Record_Count)
>   $Record_Total:= [table]Field1 *[table]Field2) + ([table]Field3 /
> [table]Field4)
>   $Grand_Total := $Grand_Total + $Record_Total
>   next record([table])
> end for
>
>
>
>
> On Wed, 1 Aug 2018 21:17:40 -0400, David Eddy via 4D_Tech wrote:
> >
> >
> >> On Aug 01, 2018, at 3:00 PM, Jody Bevan  >> > wrote:
> >>
> >>
> >> 2. The naming convention must clearly show the type of variable.
> >
> > In addition to consistency & clarity in showing variable type, do you
> > put   any / much / no   thought into using the variable names to
> > indicate business―vs technical―purpose?
> >
> > 
> > David Eddy
> > Babson Park, MA
> >
> > W: 781-455-0949
> >
> > de...@davideddy.com 
> > **
> > 4D Internet Users Group (4D iNUG)
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Off - Apple OS Server

2018-08-02 Thread UKVetDerm via 4D_Tech
Re: VPN - I’m thinking of purchasing a device

I would heartly recommend a hardware device for VPN, the reliability and 
throughput, as well as added security features (e.g. web filtering) are a 
definitive improvement over server. With a UPS for supply backup they just sit 
there backup once set up.


On 02/08/2018, 17:32, "4D_Tech on behalf of David Ringsmuth via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

I recommend against using godaddy for email, compared with AWS SES.

David Ringsmuth

From: npdennis via 4D_Tech
Sent: Thursday, August 2, 2018 9:48 AM
To: Chip Scheide via 4D_Tech
Cc: npdennis
Subject: Off - Apple OS Server

With Apple removing many applications from future OS Servers I’m looking 
for some ideas for good replacements for the following:

Email. Web, VPN, DNS

Email - I’m thinking of using gmail but I don’t know if there is something 
better
Web - I’m thinking of using my ISP
DNS - I have my domain registered with GoDaddy, I’m thinking of using them 
for this
VPN - I’m thinking of purchasing a device

Any good ideas? What do you currently use?

Neil


--

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Off - Apple OS Server

2018-08-02 Thread David Ringsmuth via 4D_Tech
I recommend against using godaddy for email, compared with AWS SES.

David Ringsmuth

From: npdennis via 4D_Tech
Sent: Thursday, August 2, 2018 9:48 AM
To: Chip Scheide via 4D_Tech
Cc: npdennis
Subject: Off - Apple OS Server

With Apple removing many applications from future OS Servers I’m looking for 
some ideas for good replacements for the following:

Email. Web, VPN, DNS

Email - I’m thinking of using gmail but I don’t know if there is something 
better
Web - I’m thinking of using my ISP
DNS - I have my domain registered with GoDaddy, I’m thinking of using them for 
this
VPN - I’m thinking of purchasing a device

Any good ideas? What do you currently use?

Neil


--

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Off - Apple OS Server

2018-08-02 Thread David Ringsmuth via 4D_Tech
I recommend using AWS SES for email.

It costs a very little bit, but it’s fast and effective. Best I’ve found.

David Ringsmuth

From: npdennis via 4D_Tech
Sent: Thursday, August 2, 2018 9:48 AM
To: Chip Scheide via 4D_Tech
Cc: npdennis
Subject: Off - Apple OS Server

With Apple removing many applications from future OS Servers I’m looking for 
some ideas for good replacements for the following:

Email. Web, VPN, DNS

Email - I’m thinking of using gmail but I don’t know if there is something 
better
Web - I’m thinking of using my ISP
DNS - I have my domain registered with GoDaddy, I’m thinking of using them for 
this
VPN - I’m thinking of purchasing a device

Any good ideas? What do you currently use?

Neil


--

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Memory leak with dynamic variables in list boxes?

2018-08-02 Thread John DeSoi via 4D_Tech
Try bringing up the "User Interrupt" menu and select the Go to Design Mode 
option. On the Mac it is control-option-click. Not sure about Windows.

John DeSoi, Ph.D.
 

> On Aug 2, 2018, at 10:55 AM, mferguson--- via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Puzzling. That doesn’t work on my Windows machine. It’s not a licensing issue 
> because I am developing in v16.  :(

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Memory leak with dynamic variables in list boxes?

2018-08-02 Thread mferguson--- via 4D_Tech
Kirk,

Puzzling. That doesn’t work on my Windows machine. It’s not a licensing issue 
because I am developing in v16.  :(

Michael

> On Aug 2, 2018, at 8:25 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Michael,
> No idea what that's about. Here's what I did when I downloaded and ran it.
> 
> 1) opens to the demo dialog
> 2) closed the dialog
> 
> 
> and I'm in design. If you hit the Mode/Design menu command first just close
> the dialog.
> 
> On Thu, Aug 2, 2018 at 7:52 AM mferguson--- via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> Uh, when I do that on my machine it gets into the pretend design
>> environment. All the menu items are grayed out.   : )
>> 
> Are you by any chance running it from a read-only volume? Or is the file
> locked? That sounds like a permissions error.
> 
> 
> -- 
> Kirk Brooks
> San Francisco, CA
> ===
> 
> *We go vote - they go home*
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Query by Formula bug Client/Server with Automatic Relations

2018-08-02 Thread Chip Scheide via 4D_Tech
I missed that part...

On Thu, 02 Aug 2018 10:14:33 -0500, Tim Nevels via 4D_Tech wrote:
> 
> So would you expect it to work the same in single-user and client/server? 
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Off - Apple OS Server

2018-08-02 Thread Chip Scheide via 4D_Tech
you can run :
Email through godaddy to.

This email (& domain) are with them.


On Thu, 2 Aug 2018 08:48:20 -0600, npdennis via 4D_Tech wrote:
> With Apple removing many applications from future OS Servers I’m 
> looking for some ideas for good replacements for the following:
> 
> Email. Web, VPN, DNS
> 
> Email - I’m thinking of using gmail but I don’t know if there is 
> something better
> Web - I’m thinking of using my ISP
> DNS - I have my domain registered with GoDaddy, I’m thinking of using 
> them for this
> VPN - I’m thinking of purchasing a device
> 
> Any good ideas? What do you currently use?
> 
> Neil
> 
> 
> --
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Memory leak with dynamic variables in list boxes?

2018-08-02 Thread Kirk Brooks via 4D_Tech
Michael,
No idea what that's about. Here's what I did when I downloaded and ran it.

1) opens to the demo dialog
2) closed the dialog


and I'm in design. If you hit the Mode/Design menu command first just close
the dialog.

On Thu, Aug 2, 2018 at 7:52 AM mferguson--- via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Uh, when I do that on my machine it gets into the pretend design
> environment. All the menu items are grayed out.   : )
>
Are you by any chance running it from a read-only volume? Or is the file
locked? That sounds like a permissions error.


-- 
Kirk Brooks
San Francisco, CA
===

*We go vote - they go home*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Query by Formula bug Client/Server with Automatic Relations

2018-08-02 Thread Tim Nevels via 4D_Tech
On Aug 2, 2018, at 9:12 AM, Chip Scheide wrote:

> with the auto many to one 
> I would *expect* the selection in the one table to be changed, after 
> running a query on the many table. I would also expect that the one 
> table record would be the one (in the one to many) of the first record 
> in the many.

So would you expect it to work the same in single-user and client/server? 

Rich is pointing out it works differently in single-user than it does on 
client/server. If it worked the same in both places he would not have posted 
this message. That’s the key point I took from his post.

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Query by Formula bug Client/Server with Automatic Relations

2018-08-02 Thread Tim Nevels via 4D_Tech
On Aug 2, 2018, at 9:12 AM, Richard Wright wrote:

> I just ran into a problem where running a Query By Formula bug in 
> Client/Server that has apparently been around for a long time:
> 
> Client/Server
> Two related tables and automatic many-to-one is turned on
> 
> 1.  Select a record in the One table
> 2.  Run a standard query to get the related records in the Many table
> 3.  Run Query Selection By Formula on the Many table where the formula uses 
> nothing from the One table at all
> 
> The current record and entire selection of the One table is lost. You don’t 
> even need step 2. Just run Query By Formula on the Many table. Even though 
> the formula has nothing in it that touches the One table, the One table’s 
> selection is cleared. It works fine in standalone.
> 
> I discovered this in v16 R2 but it’s also a problem in v13.5. Has anyone else 
> seen this problem?

Hi Rich,

I have seen this too. It’s a bug or difference in how single user and 
client/server works. I hate when there is a difference like this. It’s hard to 
track it down. 

I remember getting bitten by this issues some years ago and could not reproduce 
the problem. Always testing in single user developer mode. Lesson learned from 
this. Gotta do testing in client/server mode to make sure things work exactly 
like they do when you are testing in development. 

In most cases the “environment” is the same for a process in single-user and 
client/server. But sometimes it’s not. I guess this is an example of how 
executing on the server the “environment" is not exactly the same. 

What throws you off is if you do “execute on server” for a method and use 
pointers as parameters, 4D is kind enough to transfer the pointer values to the 
server “environment” for you so that it still works. 

The quirks and gotchas of the 4D world.

Tim

Tim Nevels 
timnev...@mac.com 
Innovative Solutions
785-749-3444


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Memory leak with dynamic variables in list boxes?

2018-08-02 Thread mferguson--- via 4D_Tech
Hi Kirk,

Uh, when I do that on my machine it gets into the pretend design environment. 
All the menu items are grayed out.   : )

Michael


> On Aug 2, 2018, at 7:34 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hey Michael,
> You don't need the source code. Just download the database zip.
> You have to close the demo dialog to get into design mode (because the
> dialog is opened with the On startup database method).
> 
> On Thu, Aug 2, 2018 at 6:25 AM mferguson--- via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> Hi Miyako,
>> 
>> The example looks promising, except the source code download only had a
>> text file in it.
>> 
>> Can’t get into the design mode.
>> 
>> Thanks
>> 
>> Michael
>>> On Aug 1, 2018, at 9:20 PM, Keisuke Miyako via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
>>> 
>>> Hello,
>>> 
>>> this is 16R6 structure.
>>> 
>>> nothing special, just did what was suggested in the previous post.
>>> 
>>> 
>> https://github.com/4D-JP/4d-tips-office-document-information/releases/tag/iNUG-180802
>>> 
>>> 2018/08/02 11:32、mferguson--- via 4D_Tech <4d_tech@lists.4d.com> 4d_tech@lists.4d.com>>のメール:
>>> If anyone has a working example of assigning dynamic variables to a
>> footer so that SET FOOTER CALCULATION works, I’d really appreciate fairly
>> detailed outline or demo of it.
>>> 
>>> 
>>> 
>>> **
>>> 4D Internet Users Group (4D iNUG)
>>> Archive:  http://lists.4d.com/archives.html
>>> Options: https://lists.4d.com/mailman/options/4d_tech
>>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>>> **
>> 
>> **
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> 
> 
> 
> -- 
> Kirk Brooks
> San Francisco, CA
> ===
> 
> *We go vote - they go home*
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Off - Apple OS Server

2018-08-02 Thread npdennis via 4D_Tech
With Apple removing many applications from future OS Servers I’m looking for 
some ideas for good replacements for the following:

Email. Web, VPN, DNS

Email - I’m thinking of using gmail but I don’t know if there is something 
better
Web - I’m thinking of using my ISP
DNS - I have my domain registered with GoDaddy, I’m thinking of using them for 
this
VPN - I’m thinking of purchasing a device

Any good ideas? What do you currently use?

Neil


--

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Memory leak with dynamic variables in list boxes?

2018-08-02 Thread Kirk Brooks via 4D_Tech
Hey Michael,
You don't need the source code. Just download the database zip.
You have to close the demo dialog to get into design mode (because the
dialog is opened with the On startup database method).

On Thu, Aug 2, 2018 at 6:25 AM mferguson--- via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi Miyako,
>
> The example looks promising, except the source code download only had a
> text file in it.
>
> Can’t get into the design mode.
>
> Thanks
>
> Michael
> > On Aug 1, 2018, at 9:20 PM, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Hello,
> >
> > this is 16R6 structure.
> >
> > nothing special, just did what was suggested in the previous post.
> >
> >
> https://github.com/4D-JP/4d-tips-office-document-information/releases/tag/iNUG-180802
> >
> > 2018/08/02 11:32、mferguson--- via 4D_Tech <4d_tech@lists.4d.com 4d_tech@lists.4d.com>>のメール:
> > If anyone has a working example of assigning dynamic variables to a
> footer so that SET FOOTER CALCULATION works, I’d really appreciate fairly
> detailed outline or demo of it.
> >
> >
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
Kirk Brooks
San Francisco, CA
===

*We go vote - they go home*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Changes to variable initialization in v16?

2018-08-02 Thread Chip Scheide via 4D_Tech

> In addition to consistency & clarity in showing variable type, do you 
from my 'Conventions' (all comment) method

  //Variables
  //all process or interprocess vars are preceded by a type designator 
  //I do not hold these conventions for local variables
  //this is in the form of :
  //letter(s)_variablename
  //letters for designator are always lower case

  //Variable names are always 1 word, with separate 'phrases' connected 
by an underscore
  //the first letter of each 'phrase' is always capitalized.  
  //ex: al_My_Longint_Array
variable naming specifics are NOT included here

>do you 
> put   any / much / no   thought into using the variable names to 
> indicate business―vs technical―purpose?

Depending on the code usage, it is not always possible to separate the 
2 things - technical vs Business. If the code is generic (like might be 
found in a component) then the primary consideration for variable 
naming will be technical usage; however, Reporting, and/or user 
interface most often the usage in the interface is the paramount 
consideration for variable naming.

i.e.
Component : $Array_Pointer, $Loop_Counter, $Return_value
Interface : r_Invoice_Line_Total, r_Invoice_Grand_total, 
l_Line_Item_Count

For code that spans the gap, naming will be what seems to make the most 
sense. I *try* to make the code as readable, and 'self documenting' as 
possible, even in generic code I try to avoid code like this 
(completely made up):

For ($i;1;$x)
  $y:= $z+$A+$f*$t/$R+$G-$k
  $v:=$y+$v
end for

and prefer code more like this (also made up):

$Record_Count := Records in set("SomeSetName")

For($i;1;$Record_Count)
  $Record_Total:= [table]Field1 *[table]Field2) + ([table]Field3 / 
[table]Field4)
  $Grand_Total := $Grand_Total + $Record_Total
  next record([table])
end for




On Wed, 1 Aug 2018 21:17:40 -0400, David Eddy via 4D_Tech wrote:
> 
> 
>> On Aug 01, 2018, at 3:00 PM, Jody Bevan > > wrote:
>> 
>>  
>> 2. The naming convention must clearly show the type of variable.
> 
> In addition to consistency & clarity in showing variable type, do you 
> put   any / much / no   thought into using the variable names to 
> indicate business―vs technical―purpose?
> 
> 
> David Eddy
> Babson Park, MA
> 
> W: 781-455-0949
> 
> de...@davideddy.com 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v13+ Unicode characters 1-7

2018-08-02 Thread Chip Scheide via 4D_Tech
simplicity  :)

I figured out what I need(ed).
The big problem I ran into was not the character itself, after 
selecting one.
I had a problem getting that character (Char(12)) to work as a 
Konstant...

Which is also why char(12) and not char(11) I could not get the 
Konstant xml parser to accept Char(11).


 
On Tue, 31 Jul 2018 11:22:50 +0100, Jeremy Roussak via 4D_Tech wrote:
> Chip
> 
> Are you absolutely constrained to use a single character?
> 
> Just a thought.
> 
> Jeremy
> 
> 
>> On 30 Jul 2018, at 20:01, Chip Scheide via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> I am trying to find a character I can use as an internal (to my 
>> program) data separator which will not be intentionally entered as a 
>> value, AND which will not be located by Position, or Replace (without 
>> the optional "*").
>> 
>> I initially was using Char(254) but apparently it maps as variation of 
>> some letter (Oh - O I think)... 
>> 
>> Anyway, I was thinking of changing to use anyone of Char(1) -> Char(7), 
>> as it seems that these would be nearly impossible to be embedded in 
>> text data either in an entry field, a copy/paste from ??, or even in a 
>> text file.
>> 
>> Are there any specific issues with any of these characters I need to 
>> know about?
>> 
>> 
>> My end result might look like this:
>> 
>> For($i;1;count fields($table_ptr))
>>  $Field := Field($table_num;$i)
>>  $Text := $Text+_Convert_to_Text($Field)+$Internal_Separator
>> end for
>> 
>> where $Internal_Separator = Char(1) (or 2 -> 7)
>> 
>> Thanks
>> Chip
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Query by Formula bug Client/Server with Automatic Relations

2018-08-02 Thread Chip Scheide via 4D_Tech
with the auto many to one 
I would *expect* the selection in the one table to be changed, after 
running a query on the many table. I would also expect that the one 
table record would be the one (in the one to many) of the first record 
in the many.

I am not sure as I do not use Query by formula often, and it could 
depend on the formula too, but there may not be a current record in the 
many table, and so the one table selection is cleared since there is 
nothing to auto relate.

A simple solution would be to turn auto off, then you have control of 
what is loaded and when - although you know that.


On Wed, 1 Aug 2018 17:46:04 -0500, Richard Wright via 4D_Tech wrote:
> 
> The current record and entire selection of the One table is lost. You 
> don’t even need step 2. Just run Query By Formula on the Many table. 
> Even though the formula has nothing in it that touches the One table, 
> the One table’s selection is cleared. It works fine in standalone.
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Memory leak with dynamic variables in list boxes?

2018-08-02 Thread mferguson--- via 4D_Tech
Hi Miyako,

The example looks promising, except the source code download only had a text 
file in it.

Can’t get into the design mode.

Thanks

Michael
> On Aug 1, 2018, at 9:20 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hello,
> 
> this is 16R6 structure.
> 
> nothing special, just did what was suggested in the previous post.
> 
> https://github.com/4D-JP/4d-tips-office-document-information/releases/tag/iNUG-180802
> 
> 2018/08/02 11:32、mferguson--- via 4D_Tech 
> <4d_tech@lists.4d.com>のメール:
> If anyone has a working example of assigning dynamic variables to a footer so 
> that SET FOOTER CALCULATION works, I’d really appreciate fairly detailed 
> outline or demo of it.
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**