Re: Is Table Number Valid Cannot Validate New Temporary Table

2017-10-11 Thread Keisuke Miyako via 4D_Tech
perhaps you could take advantage of the "execute on server" method to make sure the functions are called on the server side. (Get last table number, GET MISSING TABLE NAMES) the request log is the best way to confirm, but perhaps an update to the structure is not necessarily pushed to all clients

Re: Is Table Number Valid Cannot Validate New Temporary Table

2017-10-11 Thread Mark Scardigno via 4D_Tech
Miyako, One of the problems is that 'Get Last Table Number’ doesn’t acknowledge the new temporary table at all, but the Util_GetTableNum function does. For example, after I create the temporary table, Util_GetTableNum returns table number 51. But then when 'Is Table Number Valid’ fails in my

Re: Is Table Number Valid Cannot Validate New Temporary Table

2017-10-10 Thread Kirk Brooks via 4D_Tech
That's pretty cool - being able to get a pointer into a local var like that. On Tue, Oct 10, 2017 at 10:17 AM, Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > of course it works compiled :) > > > 2017/10/11 1:12、Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> のメール: > > Will that trick

Re: Is Table Number Valid Cannot Validate New Temporary Table

2017-10-10 Thread Keisuke Miyako via 4D_Tech
of course it works compiled :) > 2017/10/11 1:12、Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> のメール: > Will that trick work compiled? ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Re: Is Table Number Valid Cannot Validate New Temporary Table

2017-10-10 Thread Kirk Brooks via 4D_Tech
Miyako, Will that trick work compiled? On Tue, Oct 10, 2017 at 9:06 AM, Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > why not simply use Get last table number? > > and you don't really need to use SQL to get a table pointer from name, > just do something like... > > C_POINTER($p) >

Re: Is Table Number Valid Cannot Validate New Temporary Table

2017-10-10 Thread Keisuke Miyako via 4D_Tech
why not simply use Get last table number? and you don't really need to use SQL to get a table pointer from name, just do something like... C_POINTER($p) $name:="Table_1" $formula:="" PROCESS 4D TAGS($formula;$formula;->$p) > 2017/10/10 23:02、Mark Scardigno via 4D_Tech <4d_tech@lists.4d.com>

Is Table Number Valid Cannot Validate New Temporary Table

2017-10-10 Thread Mark Scardigno via 4D_Tech
Hello, I’m trying to use a temporary table in 4D but after creating the table successfully, "Is Table Number Valid" always returns, “Indice out of range” when I try to use the new table number. If the client logs out and then back in again, the table number is valid. Please see code below. Is