creating an table during code it's not possible (ok using C/Front, but it's not that what you want). But when you need an table temporary to store some kind of datas, use an temp table. For this, create your own "buffer" table, with an PK and some fields with differnt datatypes (decima, integer, code, text ...). This table you can use as temporary store and than work on it.
Hello,
if You still (don't know the reason) need to create Navision REAL table at runtime you may use C/FRONT and it's methods createtable/deletetable.
Take in mind that for deleting table you will need to delete all records from it first. Another thing take in mind that license must support table creation/deletion, user must be allowed to create/delete it and table numbers range must be licensed
For more information read CFRONT manual and sample.c C language sample program.
But I think in your case you might create table at designer and use it as temporary. Hope it helps:)
Br,
Igor Beeone
Comments
RIS Plus, LLC
http://www.BiloBeauty.com
http://www.autismspeaks.org
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
If you give us more info, we can direct you into the best direction to solve your problem.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
if You still (don't know the reason) need to create Navision REAL table at runtime you may use C/FRONT and it's methods createtable/deletetable.
Take in mind that for deleting table you will need to delete all records from it first. Another thing take in mind that license must support table creation/deletion, user must be allowed to create/delete it and table numbers range must be licensed
For more information read CFRONT manual and sample.c C language sample program.
But I think in your case you might create table at designer and use it as temporary. Hope it helps:)
Br,
Igor Beeone