Well.The datasource is not the problem
I have fixed my datasource, it work well outside officebean.
But still won't work in officebean.
the query frame did appear, but nothing in it.
and
loadComponentFromURL
returned null

2006/5/26, li pan <[EMAIL PROTECTED]>:
Sorry, the datasource I used was not valid.
I think it would be better if I can get a error message.

2006/5/26, li pan <[EMAIL PROTECTED]>:
> I tried different urls and only
> ".component:DB/QueryDesign"
> doesn't work
>
> ".component:DB/FormGridView" or "file:///F:\test.ods" work.
>
> Don't know why:(
>
>
> 2006/5/26, li pan <[EMAIL PROTECTED]>:
> > Hi
> > I was trying to open QueryDesign using openbasic marco, like this
> >
> > QueryDesign = frame.loadComponentFromURL( ".component:DB/QueryDesign",
> > "_self", 0, _Array( MakePropertyValue( "DataSourceName", dataSource )
> > ) )
> >
> > It was OK. But if I run the marco in a officebean which is embedded in
> > a java application, the QueryDesign won't open, and no error message
> > will be given.
> >
> > I am using OpenOffice 2.0.1 on windows.
> > Any idea?
> >
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to