Chip,
Of course if you want access to a specific table you can just do this:
C_POINTER(<>TSK_TaskTable_ptr;<>TSK_ID_ptr;<>TSK_Name_ptr)
EXECUTE FORMULA("<>TSK_Name_ptr:=->[Task]")
EXECUTE FORMULA("<>TSK_ID_ptr:=->[Task]ID")
EXECUTE FORMULA("<>TSK_Name_ptr:=->[Task]Name")
Regards,
Wayne
[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart
<http://about.me/waynestewart>
On 29 April 2017 at 05:10, Chip Scheide via 4D_Tech <[email protected]>
wrote:
> ok -
> Thanks
>
> I think I know how to do this.
> The Export_All method will require a single parameter which (a pointer
> to) is an array of pointers to the host tables to be exported.
>
> Then the host can control the export by only sending those tables which
> need to be exported
> and the component will have the needed access to the Host
> structure/tables
>
> Thanks
> Chip
> On Fri, 28 Apr 2017 12:00:40 -0700, Kirk Brooks via 4D_Tech wrote:
> > Chip,
> > No. But you can pass a pointer to a table and within the component build
> a
> > pointer array of the fields.
> >
> > On Fri, Apr 28, 2017 at 11:22 AM, Chip Scheide via 4D_Tech <
> > [email protected]> wrote:
> >
> >> Is it possible to get access to host tables without a pointer to the
> >> table?
> >>
> >> One of the methods I wold like to "componetize" is a routine that
> >> exports ALL the data in the system.
> >> I know I can expose a method which exports a single table (with a
> >> pointer to the host table), but i would like to be able to just make
> >> one call.
> >>
> >> Thanks
> >> Chip
> >> ---------------
> >> Gas is for washing parts
> >> Alcohol is for drinkin'
> >> Nitromethane is for racing
> >> **********************************************************************
> >> 4D Internet Users Group (4D iNUG)
> >> FAQ: http://lists.4d.com/faqnug.html
> >> Archive: http://lists.4d.com/archives.html
> >> Options: http://lists.4d.com/mailman/options/4d_tech
> >> Unsub: mailto:[email protected]
> >> **********************************************************************
> >
> >
> >
> >
> > --
> > Kirk Brooks
> > San Francisco, CA
> > =======================
> >
> > *The only thing necessary for the triumph of evil is for good men to do
> > nothing.*
> >
> > *- Edmund Burke*
> > **********************************************************************
> > 4D Internet Users Group (4D iNUG)
> > FAQ: http://lists.4d.com/faqnug.html
> > Archive: http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub: mailto:[email protected]
> > **********************************************************************
> ---------------
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ: http://lists.4d.com/faqnug.html
> Archive: http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub: mailto:[email protected]
> **********************************************************************
>
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************