To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86855





------- Additional comments from [EMAIL PROTECTED] Tue Apr  8 02:17:41 +0000 
2008 -------
Well, it is my fault for not getting back on this then..

To reproduce under XP:

Download the attached ODB file.
Register it as "i86855"
Copy this basic procedure, slightly modifiied from a post reporting the problem 
on the forum, to any 
library ( Standard? ).

Function OpenForm 
Dim Context As Object
Dim DB As Object
Dim Conn As Object
Dim FormDoc As Object
Dim Form AS Object
Dim Args(1) As New com.sun.star.beans.PropertyValue
Context=CreateUnoService("com.sun.star.sdb.DatabaseContext")
DB=Context.getByName("i86855")
Database=DB.getConnection("","")
Args(0).Name="ActiveConnection"
Args(0).Value=Database
Args(1).Name="OpenMode"
Args(1).Value="open"
FormDoc=DB.DatabaseDocument.FormDocuments.loadComponentFromURL 
("Contacts","_blank",0,Args() )
End Function

Make sure quickstarter is running. ( not needed totally, but shows the full 
problem, IMO )
*without* having opened the ODB file interactively, run that macro.
Add some data to the table using the form and close the form.
Completely exit OOo ( including quickstarter )

Open the ODB file and look at the table - no data was saved.

FYI - as long quickstarter is running you can open that form multiple times 
with the macro and the data 
will be retained - you can add more, or edit it, each time the edits are 
displayed in the form when it is 
opened. As soon as OOo is actually closed ( quickstarter is closed ) then all 
changes are lost.



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to