dynamic query

vishal.vgarg
vishal.vgarg Member Posts: 12
edited 2006-03-27 in Dynamics AX
I have a function which takes parameter tableid.In the function I want to write some query on the table that is supplied as the parameter.For writting a query I need to define that table but I dont know which table is going to be passed as parameter. How do I accomplish this. Any help is appreciated

Thanks
Vishal

Comments

  • kgaurav
    kgaurav Member Posts: 32
    Hi Vishal,

    When you don't know what your table will be you can use common and later on you can find out which table is it in the buffer.

    Bye

    Kumar 8)