Re: Setting up an entity / collection listbox in code

2018-10-30 Thread Jeremy Roussak via 4D_Tech
Jeremy / Kirk Thanks for the replies. They don'tt really address my question, though. As things stand, I have a component which sets up and manages listboxes which I’ve designed: I tell it the sources and the columns and it handles the rest. I plonk an empty listbox (of the correct type: arra

Re: Cross-platform Migration v15 App

2018-10-30 Thread Randy Jaynes via 4D_Tech
I did a move like this 10+ years ago. The biggest thing I can remember is file path issues. There were places in the database where files were being saved with file names generated from the user data, so the code was only checking for path naming issues relevant to the Mac OS. > On Oct 30, 201

Re: Using 4D with Git...

2018-10-30 Thread Mike Kerner via 4D_Tech
We've been using GitKraken for a couple of years because it seems the easiest to use to teach n00bs to use. It also has an integrated issue tracker called glo that is very nice. On Tue, Oct 30, 2018 at 2:11 AM Robert ListMail via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Paul, if you are using B

text characters in blob or text to document

2018-10-30 Thread Charles Miller via 4D_Tech
Hi All, Environment v16 on Mac I have created document with bullets in text of output. When I use send packet the result is as expected. When I use text to blob with utf 8 conversion and then blob to document or text to document the bullets get converted to strange looking question marks. Any idea

Re: SQL Convert problem

2018-10-30 Thread vagelis fallias via 4D_Tech
It worked , Thank you Στις Δευτέρα, 29 Οκτωβρίου 2018, 1:51:45 μ.μ. GMT-4, ο χρήστης Charles Miller έγραψε: Try cast. Chuck  On Mon, Oct 29, 2018 at 12:37 PM vagelis fallias via 4D_Tech <4d_tech@lists.4d.com> wrote: Hello, I have the following statement from an external application to

Re: text characters in blob or text to document

2018-10-30 Thread John DeSoi via 4D_Tech
The problem is likely with TEXT TO DOCUMENT/Document to text. These have strange defaults, so you have to be very careful about the parameters. TEXT TO DOCUMENT defaults to UTF-8 and inserts a BOM (which I think is a bug). So you can't read it using DOCUMENT TO BLOB and covert to UTF-8 text with

Re: Using 4D with Git...

2018-10-30 Thread Milan Adamov via 4D_Tech
> On Oct 30, 2018, at 6:51 AM, Paul Dennis via 4D_Tech <4d_tech@lists.4d.com > > wrote: > > However I have yet to find a > nice simple client they are all very complicated to use Hi Paul, my old friend Dragan recently made https://gitfinder.com

Re: text characters in blob or text to document

2018-10-30 Thread Charles Miller via 4D_Tech
Thanks I kind of figured that out, but when you got text to blob, you can not choose character set. According to docs. see below. How would one solved this problem. I wiuld guess continues to use send packet is omne solution. Are there others. Regards Chuck Text without length The text is compos

Re: text characters in blob or text to document

2018-10-30 Thread John DeSoi via 4D_Tech
Not sure I'm following exactly what you are doing - difficult to know without seeing the commands and parameters. TEXT TO BLOB and Blob to text both allow you to specify the character set. If you are using SEND PACKET with a blob you created using TEXT TO BLOB, there should be no problem conver

Re: Using 4D with Git...

2018-10-30 Thread Robert ListMail via 4D_Tech
Hi Mike, I’ll look into this. I like that all of the big git hosting companies like GitHub can integrate with third party trouble ticket trackers. For example I think GitHub works with ZenDesk while BitBucket uses Jira. Thanks, Robert Sent from my iPhone > On Oct 30, 2018, at 9:48 AM, Mike K

Re: text characters in blob or text to document

2018-10-30 Thread Charles Miller via 4D_Tech
OK I will try and explain. I qwas working at a customer who has code that uses send packet. This is really old code and I do not think they have ever used USE CHARACTER SET. We are upgrading to v16, so I tried filling a text variable and with the data and then doing a text top document. This di not

4d write pro

2018-10-30 Thread Charles Miller via 4D_Tech
Hi All, I have a customer where we would like to upgrade to 4D write pro from 4D write. We have the following issue which is basic and I can not seem to solve, We move data between different data files using SQL. We can NOT store 4D write pro in an OBJECT data type as you can not access via SQL ex

Re: Setting up an entity / collection listbox in code

2018-10-30 Thread Julio Carneiro via 4D_Tech
Jeremy, I have something similar to what you have, and I use entity selection. Except that I have a single column Listbox already set in the forms where I need them, The missing link for a completely dynamic Listbox is the ability to set the “Datasource” properties by code. As of V17r2, afaik,

Re: text characters in blob or text to document

2018-10-30 Thread John DeSoi via 4D_Tech
> On Oct 30, 2018, at 2:24 PM, Charles Miller via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > OK I will try and explain. I qwas working at a customer who has code that > uses send packet. This is really old code and I do not think they have ever > used USE CHARACTER SET. So that is likely gener

Re: Setting up an entity / collection listbox in code

2018-10-30 Thread John DeSoi via 4D_Tech
Maybe it could work if you adopted the convention that the collection properties are based on the listbox object name, e.g. Form.listbox1__currentItem Form.listbox1__selectedItems etc. You would have to adjust these properties after the first listbox, but I assume the component could manage the

Re: 4d write pro

2018-10-30 Thread Pat Bensky via 4D_Tech
Chuck, Try this ... First create a Range object that contains the whole document. Then save it as a BLoB with VARIABLE TO BLOB I did a quick test and it seems to work: *C_BLOB*($blob) *C_OBJECT*($range;$range2) $range:=*WP Create range*(PtrWriteProArea->;wk start text;wk end text) *VARIABLE TO

Re: Cross-platform Migration v15 App

2018-10-30 Thread Ronnie Teo via 4D_Tech
Hi Randy, Thanks for the heads-up. Yes, your reminders about the paths is timely indeed. Regards, Ronnie > On 30 Oct 2018, at 10:30 PM, Randy Jaynes wrote: > > I did a move like this 10+ years ago. > > The biggest thing I can remember is file path issues. There were places in > the databas