+ This method is deprecated, use ScriptForge.FormDocument.CloseDocument method instead.Closes the form document containing the actual Form instance. The Form instance is disposed.svc.CloseFormDocument(): bool
@@ -637,7 +634,6 @@
form.CloseFormDocument() # Python
- This method only closes form documents located in Base documents. If the form is stored in a Writer or Calc document, calling CloseFormDocument will have no effect. Controls --------------------------------------------------------------------------------------------------------------------------
@@ -677,6 +673,7 @@
Form service;GetDatabase
+
GetDatabase
Return a SFDatabases.Database instance giving access to the execution of SQL commands on the database the current form is connected to and/or that is stored in the current Base document.Each form has its own database connection, except in Base documents where they all share the same connection.
@@ -693,6 +690,7 @@
db = form.GetDatabase() # SFDatabases.Database
+ MoveFirst --------------------------------------------------------------------------------------------------------------------------
diff --git a/source/text/sbasic/shared/03/sf_formcontrol.xhp b/source/text/sbasic/shared/03/sf_formcontrol.xhp
index 32f2e16a14..d14af07115 100644
--- a/source/text/sbasic/shared/03/sf_formcontrol.xhp
+++ b/source/text/sbasic/shared/03/sf_formcontrol.xhp
@@ -92,74 +92,20 @@
@@ -399,7 +345,7 @@
Boolean
- ComboBox, CurrencyField, DateField, FileControl, FileControl, FormattedField, ImageControl, ListBox, NumericField, PatternField, TextField, TimeField
+ ComboBox, CurrencyField, DateField, FileControl, FormattedField, ImageControl, ListBox, NumericField, PatternField, TextField, TimeFieldSpecifies if the control is read-only.
diff --git a/source/text/sbasic/shared/03/sf_formdocument.xhp b/source/text/sbasic/shared/03/sf_formdocument.xhp
index 696f610276..1d8b1e6384 100644
--- a/source/text/sbasic/shared/03/sf_formdocument.xhp
+++ b/source/text/sbasic/shared/03/sf_formdocument.xhp
@@ -77,16 +77,17 @@
CloseDocument
-
-
-
-
Forms
+
+
+ GetDatabase
+
+
- PrintOut
+ PrintOut
@@ -165,6 +166,14 @@
To learn more about form methods and properties, refer to the Form service help page.
+
+ GetDatabase --------------------------------------------------------------------------------------------------------------------------
+
+ FormDocument service;GetDatabase
+
+
+
+
PrintOut ---------------------------------------------------------------------------------