Re: determine table name from entity selection

2020-02-08 Thread Jeremy Roussak via 4D_Tech
Thanks, Miyako. You even managed not to use lmgtfy! Jeremy > On 9 Feb 2020, at 00:19, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > it's not cheating to ask Google ** 4D Internet Users Group (4D iNUG) Archive:

Re: determine table name from entity selection

2020-02-08 Thread Keisuke Miyako via 4D_Tech
it's not cheating to ask Google https://blog.4d.com/orda-member-methods-to-get-the-structure-information/ https://doc.4d.com/4Dv18/4D/18/dataClassgetInfo.305-4505894.en.html On Feb 9, 2020, at 9:11, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> wrote: As

determine table name from entity selection

2020-02-08 Thread Jeremy Roussak via 4D_Tech
I’m writing a generic component. I have an entity selection but I don’t know which table it’s from. In the debugger, I can see “entity (125) from xx”, where xx is the name of the table. Is there a way in code to get the name of the table? As ever, I may be missing something obvious. Jeremy