Re: Datagrid internal error

2022-08-11 Thread Paul Dupuis via use-livecode
On 8/10/2022 5:02 PM, Trevor DeVore via use-livecode wrote: 32,767 is the max for width as well. If there are enough columns it is possible that the DataGrid is rendering a group that exceeds this limit and hence the error. The DataGrid works around the limit when rendering rows, but not when

Re: Datagrid internal error

2022-08-10 Thread Paul Dupuis via use-livecode
On 8/10/2022 5:02 PM, Trevor DeVore via use-livecode wrote: 32,767 is the max for width as well. If there are enough columns it is possible that the DataGrid is rendering a group that exceeds this limit and hence the error. The DataGrid works around the limit when rendering rows, but not when

Re: Datagrid internal error

2022-08-10 Thread Paul Dupuis via use-livecode
I do appreciate the responses. My question was not about the number of records, but about the number of COLUMNS and whether there is any practical or known limit. When my code is setting the column names, that list comes from customer entered data. I know that each name is less than 255

Re: Datagrid internal error

2022-08-10 Thread Trevor DeVore via use-livecode
vergreen Information Services > rdim...@evergreeninfo.net > > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On > Behalf > Of Paul Dupuis via use-livecode > Sent: Monday, August 08, 2022 12:39 PM > To: use-livecode@lists.runr

Re: Datagrid internal error

2022-08-10 Thread Craig Newman via use-livecode
Paul. All I saw was this: "I believe there is a property you set, after which you programmatically control the population of the datagrid. I am in a hurry so I can't look it up right now, but it is in the datagrid API in livecode lessons. Which is why I mentioned that the bulk of the thread

Re: Datagrid internal error

2022-08-10 Thread Bob Sneidar via use-livecode
Well the question came up if there was some limit on the number of records, and controlling the population of the datagrid would solve that. As far as the number of columns, I suspect there may be a limit on the number of *displayed* columns, and probably an issue with what characters are

Re: Datagrid internal error

2022-08-10 Thread Paul Dupuis via use-livecode
I'm sorry, I don;t see what setting the dgData or dgText or dgNuberofRecords has to do with my original post - I get an internal Datagird script error when setting the names of the columns (see original post) On 8/10/2022 11:11 AM, Bob Sneidar via use-livecode wrote: I was referring to

Re: Datagrid internal error

2022-08-10 Thread Bob Sneidar via use-livecode
I was referring to dgNumberOfRecords • get the dgNumberOfRecords • set the dgNumberOfRecords of group "DataGrid" to 20 • Getting the dgNumberOfRecords is the same as getting the dgNumberOfLines. Setting the dgNumberOfRecords has a special significance however. If you set

Re: Datagrid internal error

2022-08-10 Thread Craig Newman via use-livecode
This seems like a fragment of a longer thread, but the “dgText” and the “dgData” are the two methods I use to extract, process and reload the content of a data grid. Craig > On Aug 9, 2022, at 11:09 AM, Bob Sneidar via use-livecode > wrote: > > I believe there is a property you set, after

Re: Datagrid internal error

2022-08-09 Thread Bob Sneidar via use-livecode
I believe there is a property you set, after which you programmatically control the population of the datagrid. I am in a hurry so I can't look it up right now, but it is in the datagrid API in livecode lessons. Bob S > On Aug 9, 2022, at 05:09 , Paul Dupuis via use-livecode > wrote: > >

Re: Datagrid internal error

2022-08-09 Thread Paul Dupuis via use-livecode
comma delimited or cr delimited, without looking it up, I am sure it is in the right format since it work 99.99% of the time. The names that would be in the column list all go through a name check function. That function prevents names that are all spaces, longer than 255 characters, or are a

Re: Datagrid internal error

2022-08-08 Thread Bob Sneidar via use-livecode
Nope I take that back it's lines. I remember now wondering why that was. Bob S > On Aug 8, 2022, at 16:53 , Bob Sneidar wrote: > > I believe dgProp ["columns"] is a comma delimited list. > > Bob S > > >> On Aug 8, 2022, at 09:26 , Paul Dupuis via use-livecode >> wrote: >> >> A

Re: Datagrid internal error

2022-08-08 Thread Bob Sneidar via use-livecode
I believe dgProp ["columns"] is a comma delimited list. Bob S > On Aug 8, 2022, at 09:26 , Paul Dupuis via use-livecode > wrote: > > A customer encountered the following execution error (below) in our app > (built on Livecode 9.6.7, MacOS 12.5). This error is occurring in the scrips > for

RE: Datagrid internal error

2022-08-08 Thread Ralph DiMola via use-livecode
Subject: Re: Datagrid internal error On 8/8/2022 12:26 PM, Paul Dupuis via use-livecode wrote: > A customer encountered the following execution error (below) in our > app (built on Livecode 9.6.7, MacOS 12.5). This error is occurring in > the scrips for the Datagrid itself, rather than

Re: Datagrid internal error

2022-08-08 Thread Paul Dupuis via use-livecode
On 8/8/2022 12:26 PM, Paul Dupuis via use-livecode wrote: A customer encountered the following execution error (below) in our app (built on Livecode 9.6.7, MacOS 12.5). This error is occurring in the scrips for the Datagrid itself, rather than our code. At the end, it is one of our handler,

Datagrid internal error

2022-08-08 Thread Paul Dupuis via use-livecode
A customer encountered the following execution error (below) in our app (built on Livecode 9.6.7, MacOS 12.5). This error is occurring in the scrips for the Datagrid itself, rather than our code. At the end, it is one of our handler, "populateMe", where line 139 is where the error starts. Line