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

Reply via email to