Re: 4D Write to 4D Write pro Commands

2020-06-16 Thread UKVetDerm via 4D_Tech
I would recommend moving over to the forums, this list is in its last days.

https://discuss.4d.com

Steve

On 16/06/2020, 08:17, "4D_Tech on behalf of nisshaa2004 via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Hi All,

I am in the process of converting 32-bit code to 64 bit and using 4D Write
pro in the process.

I would like to know if there is a replacement for commands for

WR ON COMMAND
WR EXECUTE  COMMAND
WR ON EVENT 

I have tried Invoke action but could not get it to work in 4D Write Pro.


Thanks & Regards,
Nisha Fernando 




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
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)
New Forum: https://discuss.4D.com
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: Import docx files in 4D Write Pro Area

2020-06-04 Thread UKVetDerm via 4D_Tech
There is a feature request here

https://discuss.4d.com/t/import-docx-in-write-pro/14014/2

You may want to join the discussion on the new forums. It would be a very 
useful feature, but much more difficult I suspect than export to that format.

Steve

On 04/06/2020, 08:09, "4D_Tech on behalf of nisshaa2004 via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Hi All,

I am able to use the export command and export template documents to a
template folder as below.

WP EXPORT DOCUMENT([Template]TemplateWP;$path)


Is there a way to import the docx file from the template folder instead of
importing a .4wp file or blob.


Thanks  & Regards,
Nisha



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
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)
New Forum: https://discuss.4D.com
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: With v18r2, can 4D display pdf documents?

2020-04-20 Thread UKVetDerm via 4D_Tech
http://www.pluggers.nl/product/pdf-viewer/ has served us well for a long time.

Steve

On 21/04/2020, 06:12, "4D_Tech on behalf of Chris Belanger via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Is there a way in 4D to display PDF documents? Either natively inside it 
[with a plug-in, web thingy or otherwise] or by showing in a system pdf viewer?
**
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: 4d Write Pro document to pdf?

2020-04-14 Thread UKVetDerm via 4D_Tech
Hi Hilsen

This works fine for us, we never preview (16 and currently 17r6, 18 and 18r2)

$longDocName:=$pathname+$docname
SET PRINT OPTION(Orientation option;1)
SET PRINT OPTION(Destination option;3;$longDocName)
WP PRINT([Lets]LetterObject)
$newpath:=Convert path system to POSIX($longDocName)
LAUNCH EXTERNAL PROCESS("open "+Char(Double 
quote)+$newpath+(Char(Double quote)))

Hope this helps

Steve
UKVD

On 14/04/2020, 10:31, "4D_Tech on behalf of 4dialog via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:


- On mac i normaly produce pdf documents via SET PRINT OPTION(9;3;$FileName)
and then some print commands. But SET PRINT OPTION does not work when used
with WP Print. No error, OK=1 but no pdf is created? Tested with 4d 16.6 and
17.4.

If i use SET PRINT PREVIEW(True) before WP Print, i get the WP document as
PDF in Preview.

Is it possible to print a 4d Write Pro document to a pdf file?




-
Hilsen
--
Helge Antonsen
www.4dialog.no 
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Can't Access Design Mode in 6.0.6

2020-04-07 Thread UKVetDerm via 4D_Tech
Datacheck - that takes me back. Do we have a much better 4D now I wonder? I 
have not (touching a very big piece of wood) had a Datacheck moment for a long 
time, although cheap storage makes very regular backups much easier. Sorry to 
hijack your post! Steve

On 07/04/2020, 20:11, "4D_Tech on behalf of Randy Kaempen via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Chuck,

> On Apr 7, 2020, at 11:42 AM, Chuck Miller via 4D_Tech 
<4d_tech@lists.4d.com> wrote:
> 
> Can you upgrade to a newer version, Let’s say 11 and see what happens

I opened it with 6.7.4 and I was able to get in to the structure.  Weird.

I was able to see what the structure looks like and what I’ll have to watch 
for as I run it through the later versions.  I really only need to open it in 
6.0.6 to run Tools to make sure the data is in good shape.  I actually still 
have my licensed copy of DataCheck, so I’ve got a great tool for fixing and 
data problems.:-)

Thanks for the suggestion.


Randy Kaempen
Intellex Corporation

**
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: New Mail Command 17r6

2020-04-04 Thread UKVetDerm via 4D_Tech
Thank you. I have learnt my mistake - see previous post. I should have checked 
a good file for comparison. Far too much going on at present with the current 
crisis. Steve

On 04/04/2020, 10:01, "4D_Tech on behalf of Ingo Wolf via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

"%!PS-Adobe-3.0" ist the header of a postscript file. The regular header of 
a PDF begins with "%PDF-", e.g. "%PDF-1.3".

HTH
Ingo Wolf


>The files won't open on Mac OS or Windows and the applications tried 
include Preview, PDF Expert and Adobe Acrobat
>
>The header information looks good to me
>%!PS-Adobe-3.0
>%APL_DSC_Encoding: UTF8
>%APLProducer: (Version 10.14.6 (Build 18G4032) Quartz PS Context)


-- 
ViELMAC Ingo Wolf
Rheinhessenring 53A
D 55597 Wöllstein
Tel. +49 (0)6703 3070320
Fax  +49 (0)6703 3070321
e-mail i...@vielmac.de
**
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: New Mail Command 17r6

2020-04-03 Thread UKVetDerm via 4D_Tech
Hi Keisuke

The docs are incorrect or incomplete somewhere - probably in v18 or v18r2 - I 
will see if I can find this. I have been using this on the Mac for years, but I 
am not a big windows user and looked this up at the time.
The LiveDoc reference logged in has 18r2, 18, 17, 16 and not the last 17r6 - is 
there somewhere else that these can be accessed?
Similarly https://doc.4d.com/4Dv18/index.en.html gives the same

Feeling a bit stupid, but so glad it is sorted

Thanks
Steve


On 04/04/2020, 00:59, "4D_Tech on behalf of Keisuke Miyako via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

this is one of those situations where the code is absolutely platform 
specific.

$file:=$1

  //target pdf
If (Is Windows)
SET CURRENT PRINTER(Generic PDF driver)
SET PRINT OPTION(Destination option;2;$file.platformPath)
Else 
SET PRINT OPTION(Destination option;3;$file.platformPath)
End if 

2 on windows, 3 on mac.

> 2020/04/04 6:45、UKVetDerm via 4D_Tech <4d_tech@lists.4d.com>のメール:
> 
> SET PRINT OPTION(Destination option;2;$longDocName)
> 
> However I only get valid PDFs for EMAIL using the older code for MAC
> SET PRINT OPTION(Destination option;3;$longDocName)

**
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: New Mail Command 17r6

2020-04-03 Thread UKVetDerm via 4D_Tech
I hope this helps someone. I have solved my problem -  a couple of hours taken 
however!

The following command will create PDFs on both platforms (as shown by the most 
recent language reference)
These are readable and printable
SET PRINT OPTION(Destination option;2;$longDocName)

However I only get valid PDFs for EMAIL using the older code for MAC
SET PRINT OPTION(Destination option;3;$longDocName)

I feel SO in need of a good set of printed reference documents for use when 
things are changing quite rapidly and now that V18 has come out v17v6 docs are 
not available on line.
I suspect this is a version difference.

Kind regards and thank you for all the suggestions

Steve

On 03/04/2020, 18:25, "4D_Tech on behalf of UKVetDerm via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:


The files won't open on Mac OS or Windows and the applications tried 
include Preview, PDF Expert and Adobe Acrobat

The header information looks good to me
%!PS-Adobe-3.0
%APL_DSC_Encoding: UTF8
%APLProducer: (Version 10.14.6 (Build 18G4032) Quartz PS Context)

Thanks

Steve

On 03/04/2020, 18:15, "4D_Tech on behalf of JBellos via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

More along the lines of Tim - we had a problem recently where there was 
some
'stuff' being inserted into the header of the PDF. Mac Preview seems to 
do a
great job at ignoring this, but most Windows based PDF readers don't
(including Acrobat), probably for security reasons. If you save the 
received
PDF to disk and examine it in some kind of raw text editor, do you see
garbage before the PDF or does it look OK?



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: New Mail Command 17r6

2020-04-03 Thread UKVetDerm via 4D_Tech

The files won't open on Mac OS or Windows and the applications tried include 
Preview, PDF Expert and Adobe Acrobat

The header information looks good to me
%!PS-Adobe-3.0
%APL_DSC_Encoding: UTF8
%APLProducer: (Version 10.14.6 (Build 18G4032) Quartz PS Context)

Thanks

Steve

On 03/04/2020, 18:15, "4D_Tech on behalf of JBellos via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

More along the lines of Tim - we had a problem recently where there was some
'stuff' being inserted into the header of the PDF. Mac Preview seems to do a
great job at ignoring this, but most Windows based PDF readers don't
(including Acrobat), probably for security reasons. If you save the received
PDF to disk and examine it in some kind of raw text editor, do you see
garbage before the PDF or does it look OK?



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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
**

FW: New Mail Command 17r6

2020-04-03 Thread UKVetDerm via 4D_Tech

Thanks Tim this is the situation. Very little has changed

Original Environment:
-
Program creating the PDF: 4D 
OS creating the PDF: macOS 
Printer driver used: macOS built in ( we can still produce PDFs using 
the code to put the PDF into the temporary folder for sending)
OS 4D is running on that sends the email with PDF: macOS 10.14.6
4D Version sending the PDF via email: 17r6.243856 (client) / 
17r6.243856 (server) - MAC OS not working
4D Version sending the PDF via email: 17r6.243856 (client) / 
17r6.243856 (server) - Windows 10 for workstation/default PDF driver working 
fine!

 Thanks

Steve


**
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: New Mail Command 17r6

2020-04-03 Thread UKVetDerm via 4D_Tech

Original Environment:
-
Program creating the PDF: 4D 
OS creating the PDF: macOS 
Printer driver used: macOS built in ( we can still produce PDFs using the 
code to put the PDF into the temporary folder for sending)
OS 4D is running on that sends the email with PDF: macOS 10.14.6
4D Version sending the PDF via email: 17r6.243856 (client) / 17r6.243856 
(server) - MAC OS not working
4D Version sending the PDF via email: 17r6.243856 (client) / 17r6.243856 
(server) - Windows 10 for workstation/default PDF driver working fine!

Fill in the above blanks so we know exactly what changed. 

A change to any one of these could case a PDF problem — particularly when 
you mix macOS and Windows. 

I have dealt with a case where using certain versions of Microsoft Print to 
PDF driver in Windows 10 will create a PDF that will not open with Acrobat 
Reader on Windows 10, but it opens fine on macOS. Exact same code and 4D 
version running on a different Windows 10 machine with a different version of 
Microsoft Print to PDF driver did not have the problem.

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
**

**
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: New Mail Command 17r6

2020-04-03 Thread UKVetDerm via 4D_Tech
Thanks, that looks like a good reason to upgrade, but it was working! I will 
need to update hm_Cal before going on so not a quick process, but there are 
definitely a few other improvements worth having

Steve

On 03/04/2020, 14:16, "4D_Tech on behalf of John DeSoi via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

It looks like several attachment related bugs have been fixed after 17r6.

https://bugs.4d.fr/fixedbugslist?branch=18_R2

John DeSoi, Ph.D.


> On Apr 3, 2020, at 6:32 AM, UKVetDerm via 4D_Tech <4d_tech@lists.4d.com> 
wrote:
> 
> The following code has been working really well, much faster than the old 
IC methods, but from today the PDFs are arriving corrupted if sent from a MAC 
client, but not from a PC client. We have not used PC clients before, but 
because of bandwidth issues I have just set one up as a RDC client for one 
worker stuck at the end of a very long telephone line in the hills. Has using 
these commands on the PC inadvertently changed a default on the MAC. We use a 
MAC server and I am feeling bamboozled. The code is pretty vanilla from the 
reference. We use default encoding.

**
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
**

New Mail Command 17r6

2020-04-03 Thread UKVetDerm via 4D_Tech
Hi 4D experts

The following code has been working really well, much faster than the old IC 
methods, but from today the PDFs are arriving corrupted if sent from a MAC 
client, but not from a PC client. We have not used PC clients before, but 
because of bandwidth issues I have just set one up as a RDC client for one 
worker stuck at the end of a very long telephone line in the hills. Has using 
these commands on the PC inadvertently changed a default on the MAC. We use a 
MAC server and I am feeling bamboozled. The code is pretty vanilla from the 
reference. We use default encoding.

Any suggestions most welcome

Thanks and hope you and yours are staying safe

Steve 
UK Vet Derm Ltd

$transporter:=SMTP New transporter($server)

C_COLLECTION($headers)  //add user-defined headers
$headers:=New collection
$headers.push(New object("name";"X-MAILER";"value";"UK 
Vet Derm Ltd"))
$headers.push(New 
object("name";"X-4D-VERSION";"value";"17R6"))

C_OBJECT($email)
$email:=New object
$email.subject:=$Subject
$email.to:=vToAddresses
$email.cc:=vCCAddresses
$email.bcc:=vBCCAddresses
$email.from:="email>"
$email.textBody:=$text
$email.attachments:=MAIL New 
attachment($Fullpath;$Name;"";"application/pdf";"attachment")
$email.headers:=$headers
$email.keywords:=New object("Veterinary 
report";True;"Urgent";True)

$status:=$transporter.send($email)
If (Not($status.success))
ALERT("An error occurred sending the mail: 
"+$status.statusText)
End if


**
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: Gmail, LSA, and OAuth

2020-03-18 Thread UKVetDerm via 4D_Tech
Is there any possibility that the new MAIL commands in version 18 will sort out 
these shortcomings? 

On 18/03/2020, 21:53, "4D_Tech on behalf of Herr Alexander Heintz via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Am 18.03.2020 um 22:43 schrieb David Rose via 4D_Tech 
<4d_tech@lists.4d.com>:

> How is this done in 4D in conjunction with the 4D SMTP commands?

NOT
AT
ALL

we apologize for the inconvenience…

but in all seriousness:

Everybody is currently switching to other system standards.
Office 365 still supports imap/smtp with plain authentication, but that 
will go away as well.
We currently use office 365 vi Exchange Web Services, with MS OAuth2.
It was a pain to implement…
There is some good stuff from Keisuke concerning OAuth2, but a lot more 
needs to be done in order to continue using IMAP.
SMTP will live a little longer, IMAP will force you to switch from palin 
authentication to bearer authentication where you send a token.
It sadly requires interaction by the user from time to time, no idea if 
Google has any system for Admin impersonation in place like MS Azure does.

I might release component in the near future that does MS OAuth against 
Azure.

As for Google and others, I will have to find the time to get into that.

Cheers
Alex
**
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: Getting emails sent by 4D to show up in "Sent Items"?

2020-02-11 Thread UKVetDerm via 4D_Tech
Bob

Even in Microsoft Outlook it is common for sent emails to only be seen on the 
machine (phone, PC, Web, Tablet) that sends them, which is sometimes a real 
nuisance. The only way I have found to avoid this situation is to BCC or CC the 
emails to the origination. Is this a feature of Exchange Server I wonder. 

Steve

On 11/02/2020, 13:36, "4D_Tech on behalf of Bob Miller via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

RE> "Emails sent by the SMTP Internet commands are just the same as emails 
created by any other mail program.  They will show up in the Sent folder for 
the account that sent them.  I do this all the time for my clients and they 
know that the 4D emails will show up next to the emails they sent manually."

I'm using Outlook and emails that are created by 4D (using my email 
address) do not show up in my 'Sent' folder. Of course, emails created in 
Outlook appear there.  Is there a way to have emails sent from 4D come into an 
Outlook 'sent' folder?

Bob Miller
Parker Hannifin Corp.
**
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: v18 and 4D Write Classic - does it work ?

2020-02-05 Thread UKVetDerm via 4D_Tech
For the 4D write side of things I would use v17 r 4 (I think) 32 bit to 
facilitate using the two systems side by side in a fairly modern environment.
Not everything available in WP (v18) was sorted at that stage so I would make 
this an interim step as v18 seems fairly complete.

Hope this help

Steve

On 05/02/2020, 14:38, "4D_Tech on behalf of Peter Jakobsson via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Hi

I’m going to be making the leap from v15 to v18. I think the biggest 
transition will be moving to 4D Write Pro as I have quite a lot of legacy 4D 
Write code to deal with.

In the meantime, does anybody have experience of migrating big 4D Write 
codebases ? What are the major gotchas ?

Will legacy 4D Write work in v18 in the meantime or do we need to migrate 
to 4D Write Pro to even run it ? (When I try it it invokes license privilege 
errors everywhere).

Many thanks for any tips

Peter

**
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: Using ORDA - getting ONE entity from MANY Table

2020-01-29 Thread UKVetDerm via 4D_Tech
Thanks
Re: Just keep in mind, if you rename a field or relation, you must restart the 
database before you can use those renamed fields or relations.
I am sorted from the previous answer and strongly suspect it was this that 
caught me out, or I was having a decidedly off day.
Steve

On 29/01/2020, 13:43, "4D_Tech on behalf of James Crate via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

In the debugger, look at your “emp” entity. It will show you the fields 
*and* relations. Just use the name it shows for the relation, I.e. 

$text:=$emp.Text

and then access fields on $text like any other entity, or you can access 
the related one field directly.

$description:=$emp.Text.description

Just keep in mind, if you rename a field or relation, you must restart the 
database before you can use those renamed fields or relations.

Jim Crate


On Jan 28, 2020, at 4:25 AM, UKVetDerm via 4D_Tech <4d_tech@lists.4d.com> 
wrote:
> 
> Hi ORDA users
> 
> I am starting to explore ORDA and with many false steps I have reduced 
some code to just a few lines which is great. However, I am struggling to 
extract a field from a related one table when working principally in the many 
table.
> 
> 
> In the following selection – I cannot find the code to extract the field 
value from a related one table (Events is the many table) – I am building a 
calendar view with hmCal.
> 
> I have named my relation and looked at the various examples and cheat 
sheets and just can’t get to grips with this.
> 
> 
> 
> 4D there would be a good place for a 4D ORDA manual like when SQL was 
introduced for those of us that are not full time at this!
> 
> 
> 
> I am sure I am missing something very obvious so any suggestions would be 
gratefully received!
> 
> 
> 
> Thanks
> 
> 
> 
> Steve
> 
> UKVD
> 
> 
> 
> 
--
> 
> 
> 
> C_OBJECT(emp)
> 
> 
> 
> For each (emp;ds.Events.query("StartDate > :1 & StartDate < :2 & Calendar 
= :3";vMondaydate;vMondayDate2;True)
> 
> $text:= a related one value!
> 
> $err:=hmCal_Add Appointment 
(calarea;emp.AppointmentNumber;$text;emp.MainContact 
emp.AllDay;emp.StartDate;emp.StartTime;emp.FinishDate;emp.FinishTime;0)
> 
>Blah blah …
> 
> End for each
> 
> 
> 
> 
> 
> **
> 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
**

Using ORDA - getting ONE entity from MANY Table

2020-01-28 Thread UKVetDerm via 4D_Tech
Hi ORDA users

I am starting to explore ORDA and with many false steps I have reduced some 
code to just a few lines which is great. However, I am struggling to extract a 
field from a related one table when working principally in the many table.


In the following selection – I cannot find the code to extract the field value 
from a related one table (Events is the many table) – I am building a calendar 
view with hmCal.

I have named my relation and looked at the various examples and cheat sheets 
and just can’t get to grips with this.



4D there would be a good place for a 4D ORDA manual like when SQL was 
introduced for those of us that are not full time at this!



I am sure I am missing something very obvious so any suggestions would be 
gratefully received!



Thanks



Steve

UKVD



--



C_OBJECT(emp)



For each (emp;ds.Events.query("StartDate > :1 & StartDate < :2 & Calendar = 
:3";vMondaydate;vMondayDate2;True)

 $text:= a related one value!

$err:=hmCal_Add Appointment 
(calarea;emp.AppointmentNumber;$text;emp.MainContact 
emp.AllDay;emp.StartDate;emp.StartTime;emp.FinishDate;emp.FinishTime;0)

Blah blah …

End for each





**
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: Windows 10 Workstation error -10515 Failed to synchronize Resources Folder

2019-12-15 Thread UKVetDerm via 4D_Tech
I have restarted the server after deleting all the 'extras' in the database 
folder and all is now working. - in case this helps anyone else. I could find 
no invisible or visible file which should not have been present, and it was a 
bit of a waste of time. Luckily we could take the server down for a short while 
without too much impact.

Steve 

On 14/12/2019, 10:33, "4D_Tech on behalf of UKVetDerm via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

I have installed 4D 17 r6 as a client on a new machine this morning, but 
cannot get around the following error

Failed to synchronize Resources Folder

Any previous experience from the experts here gratefully received. I note 
an old list entry (2018) did not give a definitive answer.

Thanks in advance

Steve Shaw
UKVD
**
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
**

Windows 10 Workstation error -10515 Failed to synchronize Resources Folder

2019-12-14 Thread UKVetDerm via 4D_Tech
I have installed 4D 17 r6 as a client on a new machine this morning, but cannot 
get around the following error

Failed to synchronize Resources Folder

Any previous experience from the experts here gratefully received. I note an 
old list entry (2018) did not give a definitive answer.

Thanks in advance

Steve Shaw
UKVD
**
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: Unable to download from kb

2019-11-09 Thread UKVetDerm via 4D_Tech
Thanks Chip and Narinder
There seems to be a problem which is not obvious to me!
I'll try again in the week and have a look at our security device in some 
detail!

Steve

On 09/11/2019, 15:25, "Chip Scheide" <4d_o...@pghrepository.org> wrote:

I tried...
get an error - no access
at/on.for this url : 
https://kb.4d.com/TN/2018/18-19_4DCollectionEntityLB.zip

not logged in, OS X 10.14 Firefox quantum 69.0.3
Chip
  
> Dear 4D collective
> 
> I am unable to download the technote materials 
> https://kb.4d.com/assetid=78151
> I have tried the usual range of browsers, have logged in and am 
> feeling a bit defeated. Any tips?
> 
> Thanks
> Steve Shaw
> 
> UKVD
> **
> 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
> **

Hell is other people 
 Jean-Paul Sartre


**
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
**

Unable to download from kb

2019-11-09 Thread UKVetDerm via 4D_Tech
Dear 4D collective

I am unable to download the technote materials https://kb.4d.com/assetid=78151
I have tried the usual range of browsers, have logged in and am feeling a bit 
defeated. Any tips?

Thanks
Steve Shaw

UKVD
**
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: PRINTERS LIST

2019-10-09 Thread UKVetDerm via 4D_Tech
On the Mac at least, it loads all of the printers set up on the machine, they 
don't need to be attached/available, so unless you are setting a printer up 
mid-session I am not sure this is a necessary.

Steve

On 07/10/2019, 17:10, "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:

Apparently 4D loads it’s copy of current available printers at launch

Obviously there are times when available printers change during a 4D user 
login session.

There should be an option in the PRINTERS LIST command that causes 4D to 
refresh it’s copy of the available printers.

Should this be a feature request?

David Ringsmuth

**
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: PDF Viewer

2019-07-23 Thread UKVetDerm via 4D_Tech
Hi Koen

Yes I have had an update today directly from Rob and all is well. This remains 
a very good plug-in purchase. Steve

On 23/07/2019, 13:54, "4D_Tech on behalf of Koen Van Hooreweghe via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Hi Steve,

IIRC I've had some issues with PDF Viewer plugin when moving to 4D v17 even 
on older macOS than Mojave. Rob Lavaux from pluggers.nl promptly fixed them. 
You should contact him to get your issues solved. I personally do prefer PDF 
Viewer instead of picture fields or web areas (on mac).

Rob might be on holiday right now, but normally he responds pretty quickly. 

HTH
Koen
 
> Op 22 jul. 2019, om 21:48 heeft UKVetDerm via 4D_Tech 
<4d_tech@lists.4d.com> het volgende geschreven:
> 
> Anyone having difficulties with Mac PDF Viewer plugin (2.01) with Mojave 
and v17 (r4 and r5) 64 bit. Can’t decide whether I have a bad form or there is 
a more systemic problem.




Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Aalter
Belgium
tel +32 495 511.653

**
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: PDF Viewer

2019-07-22 Thread UKVetDerm via 4D_Tech
I have been using it for years, there are some neat commands for navigation. If 
it has passed its useful life then I will need to rethink, but just needed a 
little feedback before I start spending a pile of time on this

Thanks S


On 22/07/2019, 20:56, "4D_Tech on behalf of Chuck Miller via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Why do you need a PDF viewer plugin. Just place pdf in a pict field on a 
mac and voila you can view it. You could also create a web area on a form and 
simply use that

Regards


Chuck


 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064   
 mailto:cjmillerinformed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D and Sybase 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. 

> On Jul 22, 2019, at 3:48 PM, UKVetDerm via 4D_Tech <4d_tech@lists.4d.com> 
wrote:
> 
> Dear all
> Anyone having difficulties with Mac PDF Viewer plugin (2.01) with Mojave 
and v17 (r4 and r5) 64 bit. Can’t decide whether I have a bad form or there is 
a more systemic problem.
> Thanks
> Steve
> UKVD

**
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
**

PDF Viewer

2019-07-22 Thread UKVetDerm via 4D_Tech
Dear all
Anyone having difficulties with Mac PDF Viewer plugin (2.01) with Mojave and 
v17 (r4 and r5) 64 bit. Can’t decide whether I have a bad form or there is a 
more systemic problem.
Thanks
Steve
UKVD
**
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: 4D Write Pro: License or privilege error

2019-05-21 Thread UKVetDerm via 4D_Tech
I would just check that there has not been a change of user access to this 
plug-in in user and groups - this has caught us out a few times between R 
upgrades as the settings for this seem to be lost

Steve

On 20/05/2019, 23:06, "4D_Tech on behalf of Timothy Penner via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

John,

I suggest removing some variables to isolate the issue -

  *   Reinstall fresh from the 32 bit installer
  *   Do not move the plugin (its already in place for 32 bit single-user 
application)
  *   Try it with a brand new / blank database

If you need to continue troubleshooting this please contact 4D Tech Support 
via TAOW.

-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: Printing a PDF document from 4D

2019-03-19 Thread UKVetDerm via 4D_Tech
RE:  There is another plugin from pluggers.nl which handles viewing and 
printing of pdf documents too: PDFViewer. I have been using it on macOS for 
years. Excellent support from Rob for the rare occasions I needed it.

I would second this!

Steve


**
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: Build Application “No License is Installed" and ...

2019-02-25 Thread UKVetDerm via 4D_Tech
Is it that you have two separate licences - should you not just have the 
partner licence for both or the developer licence for both?

Having said that my licence was incorrectly updated at maintenance renewal 
recently and fixed very quickly by 4D in France.

Steve



On 25/02/2019, 16:07, "4D_Tech on behalf of John J Foster via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Hi All,

I know this has been discussed but I couldn’t anything but really old nug 
posts.

I am using my 4D v17 Partner licenses which have been updated this 
February. So I am current!

The License Manage reflects both:

4D Developer Professional v17 R4 —> February 2020
4D Unlimited Desktop 4D v17 R4 - Partner Program

So looks good.

Now when I go into the Build Application Dialog -> Application Tab and…

Select Build stand-alone application

Point the 4D Volume Desktop Location by navigating to the folder and 
selecting it.

The selection of Data Linking mode… doesn’t appear to make any difference.

What I get is “No License is Installed"

So not sure what I need to do.

I will be building for both Mac and Windows (separate partner licenses) so 
any tips and gotchas to look out for will be appreciated.

Thanks,
John…


**
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: 4D Write for v17

2018-12-15 Thread UKVetDerm via 4D_Tech
http://download.4d.com/Products/Current/4D_v17/Installers/4D_v17.0_Mac_32-bit.dmg

HTH

Steve

On 15/12/2018, 21:15, "4D_Tech on behalf of Mitchell Shiller via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Steve,

That was my original question. Where do I get a v17 version of the old 4D 
Write to run in 32 bit mode? Must be having a brain cramp cause I don’t see it 
on the website.

Thanks

Mitch

Sent from my iPad
> 
> Message: 2
> Date: Sat, 15 Dec 2018 16:56:59 +
> From: UKVetDerm 
> To: 4D iNug Technical <4d_tech@lists.4d.com>
> Subject: Re: 4D Write for v17
> Message-ID: 
> Content-Type: text/plain; charset="utf-8"
> 
> In the 32bit version of v17 you can use both old 4Dwrite (with v17 
versions) and Write Pro as long as you have the plug ins installed. However, 
the 32-bit version is pretty painful speed wise with the new interface unless 
you use the 64bit app - but it is fine for development.
> 
> We are currently using v17r2 server (64 bit) with 32 and 64 bit clients 
as needed, with the hope of dropping the 32 bit clients as soon as I have got 
everything just so.
> 
> HTH
> Steve (UKVD)
> 
> On 15/12/2018, 15:04, "4D_Tech on behalf of Mitchell Shiller via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:
> 
> 
> 
**
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: 4D Write for v17

2018-12-15 Thread UKVetDerm via 4D_Tech
In the 32bit version of v17 you can use both old 4Dwrite (with v17 versions) 
and Write Pro as long as you have the plug ins installed. However, the 32-bit 
version is pretty painful speed wise with the new interface unless you use the 
64bit app - but it is fine for development.

We are currently using v17r2 server (64 bit) with 32 and 64 bit clients as 
needed, with the hope of dropping the 32 bit clients as soon as I have got 
everything just so.

HTH
Steve (UKVD)

On 15/12/2018, 15:04, "4D_Tech on behalf of Mitchell Shiller via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Thanks.

I will have to some of the conversion in v16 and then some in v17.
My interface needs some of the newer features e.g. standard actions 
available in v17.
I was hoping to develop and test side by side in the same database.
I’ll open two versions.

Thanks.

> 
> Maybe 4D Write version 16 plugin will work with 32 bit 4D 17? Not sure, 
never tried it. As long as you don't need to run 4D Write in version 17 (just 
need to compile/load with the old code), you can create a 64 bit plugin stub 
that just has the 4D Write resources. I can send you one if you need help on 
that.
> 
> John DeSoi, Ph.D.
> 
> 
>> 
**
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
**

Headers and Footers in 4DWrite Pro

2018-12-11 Thread UKVetDerm via 4D_Tech
Hi everyone, I hope someone can help– I suspect I am being daft.

I am starting to design some labels in 4D and there is by default a large 
header and footer meaning there is very limited space for the body text. I can 
remove the header and footer, but do not see how to increase the size of the 
body thereafter. In old 4DWr you would use the vertical ruler and it was a 
quick job when designing templates.

Thanks

Steve
UKVD
**
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: Compact data file

2018-12-01 Thread UKVetDerm via 4D_Tech
What size was the file originally? Are there any BLOBS or Images in the data? 
It does seem odd.

A couple of ideas

I presume the records have been deleted and not marked as deleted

Have you tried experimenting with the settings in the advanced TAB (I can't 
remember if this is available in v13) - particularly 'Force updating of the 
records' and 'Compact Address Table' - but both options might have consequences 
if your structure has changed a lot.

What happens if you export the 6000 records and then re-import them into a new 
datafile - is there still a huge amount of space needed?

Steve

On 01/12/2018, 08:29, "4D_Tech on behalf of stardata.info via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

I all,

In one application with 4D V13.4 i have deleted 6/7 millions of records, 
and I need to compact the data file.

Using MSC I can to compact the data file, but the dimension remains over 
100.000 Kb, and is not real because

in the data file remain only 6.000 records. Data index is 700 Kb.

I try even to use recover by tags, but the result is the same.

Someone can explain?


Thanks

Ferdinando

**
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: Sending Attachment

2018-11-29 Thread UKVetDerm via 4D_Tech
Mike

I would change the path to Mac format - our code works with that as Jeffery 
mentioned
Also, the file name and path length need to be short to work - there seemed to 
be a change a few versions back and we had to change our code to meet this 
requirement
We also always send the content type parameter as well - not sure if that is 
important, but the receiver does get the right file

There was a discussion about this answered by Tim Penner when this cropped up 
before, but I can't find it at the moment

HTH

Steve Shaw
UK

On 28/11/2018, 18:08, "4D_Tech on behalf of Jeffrey Kain via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Is SMTP_Attachment expecting a unix-style path? You might try converting it 
to a Mac style path since the 4DIC plug-in is so old. 

See: 
http://doc.4d.com/4Dv15/4D/15.6/Convert-path-POSIX-to-system.301-3817259.en.html

**
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: PDF Creation on Windows under v16 -- Changed?

2018-08-16 Thread UKVetDerm via 4D_Tech
Allan

Somewhere around v16r4–6 there was a change in the maximum file name length and 
path length that caused us considerable problems (we are Mac based and had been 
sending reports with enormous descriptive titles before this generated on the 
fly using 4D write and then attached to emails via 4D Internet commands). You 
might want to look at that for the sites where PDFs are missing, but the text 
of the email is correct.

Regards

Steve
UKVetDerm

-- 
On 16/08/2018, 10:13, "4D_Tech on behalf of Allan Udy via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Hi again,

After recently upgrading one of our vertical market apps to v16R6 (from 
v14), we're getting reports from several user sites that the (relatively 
simple) PDF reports that they've been emailing to their clients are now 
failing on a more regular basis.

Failure consists of:

a) attached PDFs not actually appearing at the email destination, or

b) some of the attached PDFs that do arrive are corrupt and are unreadable.


At this stage there seems to be a mix of both Win 7/8 clients using PDF 
Creator, and Win 10 clients using the built-in pdf writer (our software 
auto switches depending on the OS).

We know that there are SMTP Server, spam filter and ISP issues at work 
(as there always have been), and we're working through this trying to 
get more info, but it would be useful to know if anyone else noticed the 
appearance of more problems with PDFs under v16 compared with earlier 
versions?


Cheers,
Allan Udy

Golden Micro Solutions Ltd, Blenheim, New Zealand
http://www.golden.co.nz

**
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 - Reconditioning SSD Drives

2018-08-08 Thread UKVetDerm via 4D_Tech
Is TRIM enabled?
If not that would be my first step.

Steve
UKVD

On 08/08/2018, 16:54, "4D_Tech on behalf of Dave Nasralla via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Hey All,

This isn't related to 4D per se, but our 4D server is running a
mirrored RAID with two Samsung 850 Pro drives on Mac OS 10.13.x.
Recently I wiped the RAID and upgraded to the current OS from scratch
doing a clean install of everything. Now I am seeing a fairly
noticeable performance hit with write operations. I used to be able to
duplicate a 400MB file in s few seconds, but not anymore. I am not
running the new mac file system (APFS) on the RAID.

I'm thinking the SSDs need to be reconditioned. Any one have any
recommendations? (I can also connect them to a PC to do another wipe
if necessary.)

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
**

**
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: Scheduled ISP Maintenance @ 4D Office (France)

2018-08-07 Thread UKVetDerm via 4D_Tech
The worst of it is that trying to log in in the application crashes 4D with a 
dialog stating 'You can identify yourself ..." which will not dismiss

Steve
UK

-- 
On 07/08/2018, 11:26, "4D_Tech on behalf of Pat Bensky via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

I'm still unable to register a licence as of Tuesday 11 AM UK time ...

On Mon, 6 Aug 2018 at 15:24, Tai Bui via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hi,
>
> For some reason it appears that the internet has been down since the ISP
> performed their maintenance.
> The ISP has been informed and should be working on it.
>
> Apologies for the inconvenience.
>
> Best Regards,
> -Tai B.
>
>
>
> **
> 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
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
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: Export text columns containing carriage returns to Excel?

2018-08-03 Thread UKVetDerm via 4D_Tech
Some ideas:
I would question the desirability of an excel file for these data, getting the 
data back out of excel will be more than a little fun.
 A text file with the LFs replaced with some unique code would be better for 
most purposes. Alternatively, you could pick some high ascii codes as your 
field and row separators as long as the other end can understand the data.

It may be easier to export as a 4D file and bring into a new database using the 
create table option so that you can do more sophisticated manipulation 
(presuming you can get into user mode).

On 03/08/2018, 18:21, "4D_Tech on behalf of Perkins, Bradley D via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4D.com> wrote:

I've been asked to provide an export from a legacy 4D system delivered as 
an .xlsx file.

The challenge I'm facing is that this table contains a number of text 
fields and the customer requires the imported column cells to retain the 
returns or line feeds in the original text fields. If I do a straight 
tab-delimited export with carriage returns as the end of line marker, the 
imported result does not preserve the original row because any returns 
encountered in the text fields are interpreted as end of row.

My other challenge is that I need to do this with out-of-box end user 
capabilities from a client (v15.4 remote) against a compiled server. I can't 
install plugins, create new methods, etc.
It has been many years since I've had to do this type of thing in 4D.

Can I replace the carriage returns in the text fields with a special marker 
during export? I could replace the Excel cells containing the any carriage 
return markers with actual returns after import.

Thanks,

Brad Perkins
**
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: v17 PDF-Manuals

2018-07-28 Thread UKVetDerm via 4D_Tech
The original very large box of paper manuals with my first version of 4D 
(likely v3), having moved up first from Filemaker and then 4D light/first? was 
the way I got to grips with 4D.

The quality of the documentation for new adopters and so the continuation of 
the platform should not be under-estimated. For me HTML works well when you 
vaguely know what you are doing and need a quick check, but high quality PDFs 
would be great (like those for v6.5 for instance).

Steve




**
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: Anybody know what's going on at Heubach Media?

2018-07-20 Thread UKVetDerm via 4D_Tech
Pat 
I have sent a couple of emails which are unanswered too over the last week, so 
don't take it personally. They have been so good in the past looking after me 
that I can only imagine that everyone is away due to some unexpected crisis. I 
hope you get sorted soon.
Steve 

On 20/07/2018, 15:22, "4D_Tech on behalf of Pat Bensky via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

I ordered an upgrade for HMBarcode 3 days ago and despite numerous phone
calls and emails I haven't received my licence number. Nobody responds to
any emails and the person who answers the phone is becoming increasingly
impatient and downright rude!

I'm getting desperate as I can't deploy my latest version!
Anybody have any inside info? What's going on over there?

And secondly ...
Anybody know of an alternative to HMBarcode?

Thanks

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
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
**