Re: Export import all after a crash

2017-10-22 Thread Chuck Miller via 4D_Tech
Or you could use in error call and simply skip the bad records. I would also try opening I. C/S and use sql to fill a me empty data file you can use same on error stuff. Regards Chuck Sent from my iPhone > On Oct 22, 2017, at 1:20 PM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> > wrote:

Re: SVG add object question

2017-10-22 Thread Keith Culotta via 4D_Tech
A nice solution! Just to be sure, it was to use ".svg" rather than "svg"? $svgPictureRef:=SVG_New_embedded_image ($svgCopyrightLayer_Ref;$interPicture;5;0;“.svg“) rather than $svgPictureRef:=SVG_New_embedded_image ($svgCopyrightLayer_Ref;$interPicture;5;0;“svg“) As displayed in the web

Re: SVG add object question

2017-10-22 Thread Ortwin Zillgen via 4D_Tech
this works for me Regards O r t w i n Z i l l g e n - member of developer-network

Re: Export import all after a crash

2017-10-22 Thread Tim Nevels via 4D_Tech
On Oct 22, 2017, at 2:00 PM, Arnaud de Montard wrote: > Unbelievable but a customer of mine has always thought that any backup > solution was really too expensive. Predictable has occurred, crash, no > backup, only a damaged data. I think I'll never understand how people can > have such a

Re: Export import all after a crash

2017-10-22 Thread Pat Bensky via 4D_Tech
SQL EXPORT SELECTION will certainly be faster ... and simpler to write ... Pat On 22 October 2017 at 11:10, Arnaud de Montard via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Unbelievable but a customer of mine has always thought that any backup > solution was really too expensive. Predictable has

Re: SVG add object question

2017-10-22 Thread Kirk Brooks via 4D_Tech
Hi Keith, Huh - that sounds like the problem I'm having. Plus I was thinking the added document ref would remain valid - like adding an object to a c-obj. That's not the way it works I know now. Makes sense to get the elements and just add those. That's more or less what I would up doing anyway.

Re: SVG add object question

2017-10-22 Thread Keith Culotta via 4D_Tech
I think I recall a discussion a while back about SVG_Add_object not working well when the object being added was another svg document. Two svg docs can be "combined" using SVG_ELEMENTS_TO_ARRAYS, and SVG_Add_object for each reference in the doc being added. This technique doesn't produce a

Re: SVG add object question

2017-10-22 Thread Peter Bozek via 4D_Tech
On Sat, Oct 21, 2017 at 8:48 PM, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > > For example: > > $svgImg:=SVG_Open_file ($path+$aDocs{$n}) > > $svg:=SVG_Copy ($svgImg) > $pic1:=SVG_Export_to_picture ($svg;0) > SVG_CLEAR ($svg) > > This works as expected. > > $svg:=SVG_New >

Re: SVG add object question

2017-10-22 Thread Kirk Brooks via 4D_Tech
Jim, No, the file is an SVG document made up of XML. SVG_open_picture is what you're thinking of. On Sun, Oct 22, 2017 at 2:46 AM, Jim Dorrance via 4D_Tech < 4d_tech@lists.4d.com> wrote: > You are opening an image, not xml. You should save the source xml also and > edit it > > On Sat, Oct 21,

Export import all after a crash

2017-10-22 Thread Arnaud de Montard via 4D_Tech
Unbelievable but a customer of mine has always thought that any backup solution was really too expensive. Predictable has occurred, crash, no backup, only a damaged data. I think I'll never understand how people can have such a disregard for their own work (10 years of input, 4 users C/S).

Re: SVG add object question

2017-10-22 Thread Jim Dorrance via 4D_Tech
You are opening an image, not xml. You should save the source xml also and edit it On Sat, Oct 21, 2017 at 8:48 PM, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I must be confused about how this works. I have some SVG files I want to > use to create button icons. These are nice,