Hi Marc, > Sub Main > Dim oDestDesc as Object > oDestDesc = createDataAccessDescriptor() > oDestDesc.DataSourceName = "Spielwiese" > ' oSourceDesc.ConnectionResource = > "sdbc:dbase:file://g:/office/dba24d/user/database/biblio" > oDestDesc.CommandType = com.sun.star.sdb.CommandType.TABLE > oDestDesc.Command = "Masse" > > Dim oSourceDesc as Object > oSourceDesc = createDataAccessDescriptor() > oSourceDesc.DatabaseLocation = > "file:///e:/Daten/Dokumente/OOo_DB/Massendaten/datagen7.txt"
DatabaseLocation has to be the URL of an .odb file. If you want to specify the text file as source, use ConnectionResource and "sdbc:file:...". Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
