J
Jeroen Verdrengh
Hi,
Please have a look at this code:
Dim varX As Variant
varX = DLookup("[Field]", "Query")
If (varX <> Null) Then [Form].Label.Caption = varX
Why does the VBA interpreter refuses to execute [Form].Label.Caption = varX
even when varX has a value that is not null (I can see it in debug mode)??
[Field] is the number of records in Query (aggregate function).
greets,
Jeroen
Please have a look at this code:
Dim varX As Variant
varX = DLookup("[Field]", "Query")
If (varX <> Null) Then [Form].Label.Caption = varX
Why does the VBA interpreter refuses to execute [Form].Label.Caption = varX
even when varX has a value that is not null (I can see it in debug mode)??
[Field] is the number of records in Query (aggregate function).
greets,
Jeroen