Lee Hinde | 28 Jul 19:57 2014
Picon

4sight Fax v8 and 4D Fax Pack Plugin

Is anyone using 4sight Fax v8 with v 7.6 of the Fax Pack plugin?   We tried
to get someone to say if the two were compatible before we bother testing,
but couldn't get a response.
**********************************************************************
See how easy it is to extend your 4D solutions to Web and mobile. New opportunities await you with 4D v14!

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

Walt Nelson (Manila | 28 Jul 16:13 2014

RE: [ANN] Course: Estimating Projects and Writing Proposals

Hello All.

This course is now open for registration. 

The price is discounted for those who register on or before August 1, 2014.

Click the following link for more details:

http://www.4dmentor.com/4D_Training/Estimating_Writing_Proposals.html

Warmest regards,

Walt Nelson (Manila)

Author:   <http://www.4dmentor.com/4D_Fun_Profit_Summary.html> 4D for Fun &
Profit

Author:   <http://www.4dmentor.com/About_4DAppbuilder_Pro_1.html>
4DAPPBUILDER PRO

Website:  <http://www.4dmentor.com/> www.4DMENTOR.com 

Email Addr:  <mailto:WaltNelson@...?subject=4DMentor%20Enquiry>
WaltNelson@...

"Hit the ground running!"

From: Walt Nelson [mailto:wnelson@...] 
Sent: Monday, July 21, 2014 11:18 AM
To: 4d_tech@...
(Continue reading)

Paul Chernoff | 28 Jul 16:50 2014

Re: Query Selection not working

[Apologies for double-posting. My first post had the digest as the subject]

Inserting a SET QUERY DESTINATION command fixed the problem. I have not found where the destination is
being set to some other value. I have one method within this method and this is a Foundation based database,
but neither are showing me clues when the query destination has changed.

It is fixed for the short term but I am going to track down the cause of this problem.

Paul Chernoff
Director of Information Technology
Washingtonian Media
202.862.3504

> Subject: Re: Query Selection not working
> Date: Fri, 25 Jul 2014 11:10:53 -0700
> From: Lee Hinde <leehinde@...>
> To: 4D iNug Technical <4d_tech@...>
> Message-ID:
> 	<CA+ePoMx=DCRERk530GtGD-ceiq0ompX4ZbzezA0WFbfja=iVCg@...>
> 
> Have you used set query destination prior to that code?
> 
> 
> On Fri, Jul 25, 2014 at 11:01 AM, Paul Chernoff <pchernoff@...
>> wrote:
> 
>> I have a Query Selection that is just not working. I have tried rewriting
>> it and other changeds but no matter what I do 4D seems to be ignoring the
>> line of code
>> 
(Continue reading)

Kirk Brooks | 28 Jul 14:20 2014
Picon

How to query for an email?

This is stumping me - how do I query for an email address?

I could change the database setting to consider  <at>  only at the begining and
end of a string but I actually use  <at>  within a few queries. Is that the only
option?

--

-- 
Kirk Brooks
San Francisco, CA
=======================
**********************************************************************
See how easy it is to extend your 4D solutions to Web and mobile. New opportunities await you with 4D v14!

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

Florian Pöck | 28 Jul 13:54 2014
Picon

Creating PDF documents on a 4Dv13 clients

Hello,

what is the way to go if i need to create .pdf documents on 4Dv13 clients?
Clients are running either mac or windows.

Is pdf creator the best way or what would you recommend?
Any pointer to examples/documentation or similar is appreciated.

Best regards & thanks in advance
Florian Pöck
-- 
 - Stromversorgungen für industrielle Anwendungen -
 - Power supplies for industrial applications -

    Kniel System-Electronic GmbH
        Postfach/Postbox 210849 - 76158  Karlsruhe - Deutschland/Germany
        Telefon/Phone +49 721 95920 - Fax +49 721 9592100
        www.kniel.de
        -
        Geschäftsführer/Managers:
        Dipl. Ing. (FH) Helmut Kniel
        Dipl. Ing. (FH) Dieter Bretschneider
        Hannelore Gob
        USt-ID/VAT-ID: DE 143 598 834
        Amtsgericht Mannheim, HRB 101538

**********************************************************************
See how easy it is to extend your 4D solutions to Web and mobile. New opportunities await you with 4D v14!

4D Internet Users Group (4D iNUG)
(Continue reading)

Paul Chernoff | 25 Jul 20:01 2014

Query Selection not working

I have a Query Selection that is just not working. I have tried rewriting it and other changeds but no matter
what I do 4D seems to be ignoring the line of code

USE SET("index") //resotre [Contacts_Index_Words] selection
CLEAR SET("index")
QUERY SELECTION([Contacts_Index_Words];[Contacts_Index_Words]Index_Words=$index_s)
DELETE SELECTION([Contacts_Index_Words])

Even replacing "Query Selection" with "Query" failed to change the selection for the table. I've tried
removing indexes. At the moment I am out of ideas.

4D 13.5, Mac OS X 10.8.5

Paul Chernoff
Director of Information Technology
Washingtonian Media
202.862.3504

**********************************************************************
See how easy it is to extend your 4D solutions to Web and mobile. New opportunities await you with 4D v14!

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

Chip Scheide | 25 Jul 19:51 2014

v2003 anyone remember ....

...how to get command syntax to show up in the method editor 
at the bottom of the method?

thanks
Chip
**********************************************************************
See how easy it is to extend your 4D solutions to Web and mobile. New opportunities await you with 4D v14!

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

Wayne Stewart | 25 Jul 10:31 2014
Picon

Error -1 Web Services

Hi,

I'm struggling with web services currently :( 4D 13.5 Mac

What does Error -1 indicate?

I have a method which calls another 4D database and returns the number of
records waiting to be transferred.  It always returns the wrong number of
records - 0

If I drop into the debugger occasionally it will work?

Here is the code for the two methods, it's driving me crazy because the
same code worked correctly previously and indeed works OK in another 4D
Structure.

The Server method looks like this:

C_TEXT($1)
C_LONGINT(syn_RecordsInQueue_i)

syn_RecordsInQueue_i:=0

SOAP DECLARATION($1;Is Text;SOAP Input;"target")
SOAP DECLARATION(syn_RecordsInQueue_i;Is LongInt;SOAP
Output;"RecordsInQueue")

READ ONLY(<>sync_Table_ptr->)
QUERY(<>sync_Table_ptr->;<>sync_ForIdentifier_ptr->=$1)
syn_RecordsInQueue_i:=Records in selection(<>sync_Table_ptr->)
(Continue reading)

Ortwin Zillgen | 25 Jul 09:37 2014
Picon

Re: Copy/Paste Email into 4D

> 3- Your solution
> I read PASTEBOARD DATA TYPE and found three types 
> com.4d.private.text.rtf
> com.4d.private.text.native
> com.4d.private.text.utf16
> I tried various conversions and got unusable outputs

my list is different
…
com.apple.traditional-mac-plain-text
com.apple.webarchive
…
public.rtf
public.utf16-external-plain-text
public.utf16-plain-text
public.utf8-plain-text

C_BLOB($stdIn;$stdOut;$stdErr)
C_TEXT($Text;wa_Area)
GET PASTEBOARD DATA("public.rtf";$stdIn)
LAUNCH EXTERNAL PROCESS("textutil -stdin -stdout -convert txt -format rtf";$stdIn;$stdOut;$stdErr)
$Text:=Convert to text($stdOut;"utf-8")
WR INSERT TEXT (wr_Area;$Text)

works beyond link, no link inserted

I'm still wondering how to convert "com.apple.webarchive" into 4D WebArea

Regards
O r t w i n  Z i l l g e n
(Continue reading)

John Baughman | 24 Jul 19:26 2014
Picon

Re: PDF problem


On Jul 24, 2014, at 5:43 AM, Walt Nelson wrote:

> Based on your description, it seems that a workaround might be to write some
> code to save the file to disk and bring it back in as soon as it is uploaded
> - then you can do the merge of PDF's.

The file is received as data (blob) by 4D Web Server and then I am saving it to disk with BLOB TO DOCUMENT. The
documents are uploaded over time. Requests for downloads can be for an individual document, a category of
documents, or a complete group or package of documents. Each request is returned as a single pdf document.

Like your suggestion I thought maybe I could do something in 4D to "fix" the document. I tried various levels
of attack...

1. On receipt of the data/blob
	I could not find anything that I could to with the blob except to create the pdf on disk.

2. Directly to the pdf document after creating it.
	The only thing I could think of doing was SET DOCUMENT TYPE(Document;"PDF") which proved interesting in
that before set the type the function Document type returned BLOB for the new document. After setting the
type with SET DOCUMENT TYPE it returned PDFº. I am not sure what that degree symbol at the end means or if it
has any significance. If I check the types of the other working PDFs that were created by 4D and any other PDF
in the Finder the type returned by the Document Type function is blank. In any event, no matter what I set the
type to it still does not work. If I use SET DOCUMENT TYPE  on the other working PDFs they continue to work fine.

3. Load the PDF back into 4D and do something to it there and save it back to the disk.
	The only way I can see to load the PDF back into 4D is into a blob which takes me back to the same situation as
option 1 above.

4. Change the method I am using to merge the pdfs.
(Continue reading)

Keith White | 24 Jul 19:01 2014
Picon

4D Index building

Hi

I've just been watching an index building process for a reasonable size data file (2Gb) in both v11.9 and
13.4.  I noted the following:-

1.       Obtained a customer's data and index (customer is using 4D Server v11.9) from one of their 4BK files,
restored the 4BK and then launched here with 4D Server v11.9 and the index was re-built.  Odd, but OK.

2.       On the same PC, after copying the v11.9 4DD and (the freshly built) 4DIndx to a new folder for upgrading to
v13, 4D Server v13.4 rebuilt the index.  Odd, but OK.

3.       In both cases, the indexes were re-built in index number order, rather than table/field order.  This
seems inefficient to me, wouldn't it be better if it did all the indexes for one table in one go?  Also doesn't
that mean that when querying using several fields from one table that 4D Server may have to go to another
part of the .4DIndx file to retrieve it?  I realise that new index entries will end up being distributed
around in an index anyway, but I would have thought that existing data may benefit from being put
"together" for each table when an index rebuild is done.

Best regards

Keith White
Synergist Express Ltd, UK.
**********************************************************************
See how easy it is to extend your 4D solutions to Web and mobile. New opportunities await you with 4D v14!

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
(Continue reading)


Gmane