Hello and happy new year to everybody,
I want to create an attribute table using an AppEngine process, but don't know how to specifiy the attribute types.
Tried this:
string dim = "RLZ";
// Connect to database
OLAPConnection oConnection = DBConnection();
OLAPCreateAttributeTable(oConnection, dim, 3);
StringList sNames = CreateStringList();
StringList sTypes = CreateStringList();
StringList sDescriptions = CreateStringList();
Insert(sNames, 0, "ATT3_text_40");
Insert(sNames, 1, "ATT3_double_10_2");
Insert(sTypes, 0, "string(40)"); ***** what is the correct way to define string length and double precision?????
Insert(sTypes, 1, "double(10,2)");
Insert(sDescriptions, 0, "Text-Descr");
Insert(sDescriptions, 1, "Double-Descr");
OLAPCreateAttributeTableFields(oConnection, dim, 3, sNames, sTypes, sDescriptions);
OLAPDisconnect (oConnection);
When trying this, OLAPCreateAttributeTableFields fails with "Unknown attribute type".
Unfortunately, couldn't find anything in the documentation, so I'm asking for help in the user group.
Thanks for any tipps and help,
Ralf