Hi Try using the Dictable.makerecord() method, it returns a type common.
should be someting like this. SalesTable salesTable = new SysDictTable(tablenum(salesTable)).makerecord(); Regards Kamalakannan http://casperkamal.spaces.live.com (Technical blog on Ax) --- In Axapta-Knowledge-Village@yahoogroups.com, "dj3mb3" <[EMAIL PROTECTED]> wrote: > > Hi, > How can I create a dynamic table buffer from the table id? > > I mean something like the makeobject() function of the dictclass > because I need to use that buffer in an sql statement. > > thanks dj3mb3 >