summaryrefslogtreecommitdiff
path: root/wizards/source/access2base/Form.xba
diff options
context:
space:
mode:
authorJean-Pierre Ledure <jp@ledure.be>2016-12-27 14:40:08 +0100
committerJean-Pierre Ledure <jp@ledure.be>2017-01-12 11:40:49 +0100
commite2a1e22288a4fbe0681a8e33d25816f80799e687 (patch)
treec006763f829ecccdf5b5a1de43a58963d6d237de /wizards/source/access2base/Form.xba
parentde5222082f6652a0ff8715ad9e908b45e893db64 (diff)
Access2Base - Use Empty() builtin function
... i.o. uninitialized variable Change-Id: I732705df11ea25c2b106d542f9e97f3f32cc9867
Diffstat (limited to 'wizards/source/access2base/Form.xba')
-rw-r--r--wizards/source/access2base/Form.xba10
1 files changed, 5 insertions, 5 deletions
diff --git a/wizards/source/access2base/Form.xba b/wizards/source/access2base/Form.xba
index f890214929e0..66962d1c3de5 100644
--- a/wizards/source/access2base/Form.xba
+++ b/wizards/source/access2base/Form.xba
@@ -845,10 +845,10 @@ Private Function _PropertyGet(ByVal psProperty As String) As Variant
Utils._SetCalledSub(&quot;Form.get&quot; &amp; psProperty)
&apos;Execute
-Dim oDatabase As Object, vBookmark As Variant, vEMPTY As Variant
+Dim oDatabase As Object, vBookmark As Variant
Dim i As Integer, oObject As Object
- _PropertyGet = vEMPTY
+ _PropertyGet = EMPTY
Select Case UCase(psProperty)
Case UCase(&quot;Name&quot;), UCase(&quot;IsLoaded&quot;)
@@ -937,15 +937,15 @@ Exit_Function:
Exit Function
Trace_Error:
TraceError(TRACEWARNING, ERRPROPERTY, Utils._CalledSub(), 0, 1, psProperty)
- _PropertyGet = vEMPTY
+ _PropertyGet = EMPTY
Goto Exit_Function
Trace_Error_Form:
TraceError(TRACEFATAL, ERRFORMNOTOPEN, Utils._CalledSub(), 0, 1, _Name)
- _PropertyGet = vEMPTY
+ _PropertyGet = EMPTY
Goto Exit_Function
Error_Function:
TraceError(TRACEABORT, Err, &quot;Form._PropertyGet&quot;, Erl)
- _PropertyGet = vEMPTY
+ _PropertyGet = EMPTY
GoTo Exit_Function
End Function &apos; _PropertyGet