Hi,
it’s possible disable no data fetch message in Webi Reports?
Here the code for DESKI:
Private Sub Document_BeforeRefresh(Cancel As Boolean)
Application.Interactive = False
End Sub
Private Sub Document_AfterRefresh()
Set Doc = ActiveDocument
If Doc.DataProviders(1).NbRowsFetched = 0 Then
MsgBox "Nessun Dato è stato recuperato"
'do your "capture" logic
End If
Application.Interactive = True
End Sub
I haven’t looked for them yet in XI, but in 6.5 there were message libraries for each language. Those libraries were - at that time - text files that could be updated. If you’re running on a unix server the “grep” command can be used to scan an entire folder tree looking within files for a specific string.
There are options in the BusObj FAQ that also might be of some use, since VBA solutions will not work on Webi. The ideas include creating union queries with at least one row and some other ideas. If you look at the FAQ in the Business Objects Classic forum you’ll see the topic I am talking about.