Hi all

I'm facing a problem for 3 days i cannot solve using database and OOoBasic

My goal is to dynamically create a table

It used to work in some light tests based on Andrew's document (thanks to him) but now, going in my whole stuff, i encounter the following problem

I create my DataDescriptor,
descCol = connection.Tables.createDataDescriptor

I define the column, good, no problem

But, it raises an error when i want to
cols = descTable.Columns
cols.appendByDescriptor(descCol)

The appendByDescriptor method is not available for the created dataDescriptor , confirmed with the use of XRay

Is there any known cases where this can happen ?

I have also to say that i do somme uggly stuff on moving/deleting/copying .odb files before creating the connection but i do not expect problem here as examinating the connection seems ok, giving for example, all the tables list and doing requests (select, insert, update) Btw, is there a way to list all the currently active connections that OOo manages in order to explore if i do not have some already opened, trying to close them for testing ?

Thanks a lot for any hints you may give to a poor lost scripter in database API world

Laurent



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to