Discussion board where members can get started with QlikView.
I'm trying to detect if a field is defined in a document in a VBScript macro but I don't see any obvious predicate or test to do so.
For example, if I retrieve a field like this:
set kaboom = ActiveDocument.Fields("DOESNOTEXIST")
Then kaboom is not null, is not empty and is an object.
So would do I test if ActiveDocument.Fields returns a real field in the document?
Maybe you can use the system field $Field.
Yes, that looks like it will do the trick.