Re: Host Structure in a component-Enhancing 4D Code-you really want to see this

2017-03-16 Thread bob.miller--- via 4D_Tech
Hi Nigel, One word: Niice! How did you insert an event 'on object method close', when you added code to the button? Bob Miller Chomerics, a division of Parker Hannifin Corporation ** 4D Internet Users Group (4D

Re: Host Structure in a component-Enhancing 4D Code-you really want to see this

2017-03-16 Thread Nigel Greenlee via 4D_Tech
Hi Thanks(scroll down for link to a nice video) Dont really know what was going on. Think i was being blind to an accidental reference to $tableNums. All working now.-replaced the locals with process vars and tidied it up and its all good. Incidentally i had lots of fun with updating records

Re: Host Structure in a component

2017-03-13 Thread Keisuke Miyako via 4D_Tech
the code "seems OK..." doesn't it work inside a different host? what if you rename the arrays to something different? local variables are permitted in that context, but sometimes strange things occur. ** 4D Internet Users

RE: Host Structure in a component

2017-03-13 Thread Timothy Penner via 4D_Tech
Getting an error that the variable does not exist only while in compiled mode? Maybe the issue is the local variable (variable starting with $)? http://doc.4d.com/4Dv15/4D/15.3/Import-and-Export.201-3151369.en.html#1040799 -Tim

Re: Host Structure in a component

2017-03-13 Thread Patrick Emanuel via 4D_Tech
Administrator www.association-qualisoft.eu (Soft1002, Simply Asso & QS_Toolbox) -- View this message in context: http://4d.1045681.n5.nabble.com/Host-Structure-in-a-component-tp5750741p5750744.html Sent from the 4D Tech mailing list archive at Nabble

Host Structure in a component

2017-03-13 Thread Nigel Greenlee via 4D_Tech
I know this topic has been covered in General before but there are some things I am not sure about and i seem to be having a problem. I want to get the details of a host structure in a COMPILED component. ARRAY LONGINT($tableNums;0) ARRAY TEXT($tableNames;0) Begin SQL SELECT TABLE_ID FROM