summaryrefslogtreecommitdiff
path: root/wizards/source/access2base/Form.xba
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/source/access2base/Form.xba')
-rw-r--r--wizards/source/access2base/Form.xba2
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/source/access2base/Form.xba b/wizards/source/access2base/Form.xba
index 6b7a69a90c77..bf0ab31d87f0 100644
--- a/wizards/source/access2base/Form.xba
+++ b/wizards/source/access2base/Form.xba
@@ -787,7 +787,7 @@ Private Function _PropertySet(ByVal psProperty As String, ByVal pvValue As Varia
Dim iArgNr As Integer
Dim oDatabase As Object
- If Len(_A2B_.CalledSub) > 5 And Left(_A2B_.CalledSub, 5) = "Form." Then iArgNr = 1 Else iArgNr = 2
+ If _Isleft(_A2B_.CalledSub, "Form.") Then iArgNr = 1 Else iArgNr = 2
If Not IsLoaded Then Goto Trace_Error_Form
Select Case UCase(psProperty)
Case UCase("AllowAdditions")