-
1
- #1
Hi all,
I have tried to create dataprovider dynamically thro VBA
This is the code:
Dim dp as dataprovider
Set dp = Application.ActiveDocument.Dataproviders
.AddQueryTechnique( "<UniverseName>"
,"<UniverseDomainName>"
dp.Queries.Item(1).Results.Add "<className>", "<Obj>"
dp.Refresh
I find that the dataprovider is getting created but the report is not being displayed.Can anyone provide help on this?
thanx
I have tried to create dataprovider dynamically thro VBA
This is the code:
Dim dp as dataprovider
Set dp = Application.ActiveDocument.Dataproviders
.AddQueryTechnique( "<UniverseName>"
,"<UniverseDomainName>"
dp.Queries.Item(1).Results.Add "<className>", "<Obj>"
dp.Refresh
I find that the dataprovider is getting created but the report is not being displayed.Can anyone provide help on this?
thanx