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.xba7
1 files changed, 3 insertions, 4 deletions
diff --git a/wizards/source/access2base/Form.xba b/wizards/source/access2base/Form.xba
index e9c87c803811..f05d326dc1cc 100644
--- a/wizards/source/access2base/Form.xba
+++ b/wizards/source/access2base/Form.xba
@@ -407,9 +407,9 @@ Dim vProperty As Variant, vPropertiesList() As Variant, sObject As String
vPropertiesList = _PropertiesList()
sObject = Utils._PCase(_Type)
If IsMissing(pvIndex) Then
- vProperty = PropertiesGet._Properties(sObject, _Name, vPropertiesList)
+ vProperty = PropertiesGet._Properties(sObject, _This, vPropertiesList)
Else
- vProperty = PropertiesGet._Properties(sObject, _Name, vPropertiesList, pvIndex)
+ vProperty = PropertiesGet._Properties(sObject, _This, vPropertiesList, pvIndex)
vProperty._Value = _PropertyGet(vPropertiesList(pvIndex))
End If
@@ -506,8 +506,7 @@ Dim oDatabaseForm As Object, iCtlCount As Integer
Set oCounter = New Collect
Set oCounter._This = oCounter
oCounter._CollType = COLLCONTROLS
- oCounter._ParentType = OBJFORM
- oCounter._ParentName = _Name
+ Set oCounter._Parent = _This
oCounter._Count = iControlCount
Set Controls = oCounter
Goto Exit_Function